2015-03-24 17:12:51 +08:00
|
|
|
<div class="project_r_h">
|
|
|
|
<h2 class="project_h2"><%= l(:label_board_plural) %></h2>
|
|
|
|
</div>
|
|
|
|
<div class="talk_new ml15">
|
|
|
|
<p class="talk_top"><%= l(:label_message_new) %></p>
|
|
|
|
<ul>
|
|
|
|
<%= form_for @message, :url => {:action => 'new'}, :html => {:multipart => true, :id => 'message-form'} do |f| %>
|
2015-03-26 15:55:07 +08:00
|
|
|
<%= render :partial => 'form_course', :locals => {:f => f,:is_new => true} %>
|
2015-04-15 14:53:07 +08:00
|
|
|
<a href="javascript:void(0)" onclick="submitCoursesBoard();"class="blue_btn fl c_white"><%= l(:button_submit)%></a>
|
2015-03-27 16:53:36 +08:00
|
|
|
<%#= preview_link({:controller => 'messages', :action => 'preview', :board_id => @board}, 'message-form' ,target='preview',{:class => 'blue_btn grey_btn fl c_white'} )%>
|
|
|
|
<%= link_to l(:button_cancel), course_boards_path(@course), :class => "blue_btn grey_btn fl c_white"%>
|
2015-03-24 17:12:51 +08:00
|
|
|
<% end %>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<div id="preview" class="wiki"></div>
|