You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
1.3 KiB
28 lines
1.3 KiB
<div class="homepageRight mt0 ml10">
|
|
<div class="homepageRightBanner mb10">
|
|
<div class="NewsBannerName pr"><span id="mesLabel">竞赛留言</span></div>
|
|
</div>
|
|
<div class="cl"></div>
|
|
|
|
<div id="messageContent">
|
|
<div class="resources " ><%= link_to image_tag(url_to_avatar(User.current),:class=>"fl mr10", :width => "50", :height => "50"), :alt => "用户头像" %>
|
|
<div class="fl" style="width:658px;">
|
|
<%= form_for('new_form',:url => leave_contest_message_path(@contest.id), :html =>{:id => "contest_feedback_new"}, :method => "post") do |f|%>
|
|
<%= render :partial => "users/jour_form", :locals => {:f => f, :object => @contest} %>
|
|
<input id="private_flag" name="private" type="hidden" value="0"/>
|
|
<a href="javascript:void(0);" class="blue_n_btn fr mt5" id="submit_feedback_user" >留言</a>
|
|
<a href="javascript:void(0);" onclick="cancel_jour_submit()" class="greyBtn2 postReplySubmit mt5 mr15">取消</a>
|
|
<% end %>
|
|
</div>
|
|
</div>
|
|
<%=render :partial => "contest_jours_list", :locals => {:jours =>@jours, :page => 0, :count => @jour_count} %>
|
|
<div class="cl"></div>
|
|
</div><!--message_box end-->
|
|
</div>
|
|
<script type="text/javascript">
|
|
$(function(){
|
|
$("#submit_feedback_user").one('click',function() {
|
|
contest_jour_submit();
|
|
});
|
|
});
|
|
</script> |