50 lines
1.6 KiB
Plaintext
50 lines
1.6 KiB
Plaintext
<% reply_allow = JournalsForMessage.create_by_user? User.current %>
|
||
<div style="margin-left: 20px;">
|
||
<span class="portrait"><%= image_tag(url_to_avatar(@contest.author), :class => "avatar")%></span>
|
||
<span class="body">
|
||
<h3>
|
||
<%= link_to(@contest.author.lastname+@contest.author.firstname,
|
||
user_path(@contest.author))
|
||
%>
|
||
:<%= @contest.name %></h3>
|
||
<p>
|
||
<strong>
|
||
<%= l(:label_bids_reward_method) %>
|
||
<span class="bonus">
|
||
<%= @contest.budget%>
|
||
</span>
|
||
</strong>
|
||
</p>
|
||
<div class="bid_description" style="width: 100%;word-break:break-all;word-wrap: break-word;">
|
||
<%= @contest.description %>
|
||
<!-- <%# if @contest.attachments.any?%>
|
||
<%# options = {:author => true} %>
|
||
<%#= render :partial => 'attachments/links', :locals => {:attachments => @bid.attachments, :options => options} %>
|
||
<%# end %> -->
|
||
</div>
|
||
<span id="praise_tread" style="float: right">
|
||
<%= render :partial => "/praise_tread/praise_tread",
|
||
:locals => {:obj => @contest,
|
||
:show_flag => true,
|
||
:user_id =>User.current.id,
|
||
:horizontal => false}
|
||
%>
|
||
</span>
|
||
</span>
|
||
</div>
|
||
|
||
<div style="clear: both;"></div>
|
||
|
||
<div id="history">
|
||
<%= render :partial => 'history',
|
||
:locals => { :contest => @contest, :journals => @jour, :state => false}
|
||
%>
|
||
</div>
|
||
|
||
<div class="pagination" style="float:left;">
|
||
<ul>
|
||
<%= pagination_links_full @feedback_pages %>
|
||
</ul>
|
||
</div>
|
||
|