2015-03-24 19:51:03 +08:00
|
|
|
|
2014-11-04 18:30:45 +08:00
|
|
|
<div class="msg_box" id='leave-message'>
|
2014-12-24 09:30:45 +08:00
|
|
|
<%# reply_allow = JournalsForMessage.create_by_user? User.current %>
|
2015-03-24 19:51:03 +08:00
|
|
|
<h4><%= l(:label_leave_message) %></h4>
|
2014-11-04 18:30:45 +08:00
|
|
|
|
|
|
|
<% if !User.current.logged?%>
|
|
|
|
<div style="font-size: 14px;margin:20px;">
|
|
|
|
<%= l(:label_user_login_tips) %>
|
|
|
|
<%= link_to l(:label_user_login_new), signin_path %>
|
|
|
|
<hr/>
|
|
|
|
</div>
|
|
|
|
<% else %>
|
|
|
|
<%= form_for('new_form', :method => :post,
|
|
|
|
:url => {:controller => 'words', :action => 'leave_course_message'}) do |f|%>
|
2015-03-27 16:02:06 +08:00
|
|
|
<%= f.text_area 'course_message',:id => "leave_meassge",:style => "resize: none;",
|
2015-03-24 19:51:03 +08:00
|
|
|
:placeholder => "#{l(:label_welcome_my_respond)}",:maxlength => 250%>
|
2015-03-26 17:41:25 +08:00
|
|
|
<a href="#" class="grey_btn fr ml10">取 消</a>
|
|
|
|
<a href="#" onclick='$("#leave_meassge").parent().submit();' class="blue_btn fr"> <%= l(:button_leave_meassge)%></a>
|
2014-11-04 18:30:45 +08:00
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
</div>
|
2014-11-12 15:09:39 +08:00
|
|
|
|
2014-11-04 18:30:45 +08:00
|
|
|
<div id="history">
|
|
|
|
<%= render :partial => 'history',:locals => { :contest => @contest, :journals => @jour, :state => false} %>
|
|
|
|
</div>
|
2014-12-24 09:30:45 +08:00
|
|
|
<ul class="wlist">
|
|
|
|
<%= pagination_links_full @obj_pages, @obj_count, :per_page_links => false, :remote => false, :flag => true%>
|
2015-03-24 19:51:03 +08:00
|
|
|
</ul>
|