<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| %>
      <%= render :partial => 'form_course', :locals => {:f => f,:is_new => true} %>
        <a href="javascript:void(0)" onclick="submitCoursesBoard();"class="blue_btn fl c_white"><%= l(:button_submit)%></a>
        <%#= 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"%>
    <% end %>
  </ul>
</div>
<div id="preview" class="wiki"></div>