<div class="project_r_h">
  <h2 class="project_h2">
    <% if User.current.language == "zh"%>
        <%= h @board.name %>
    <% else %>
        <%= l(:project_module_boards) %>
    <% end %>
  </h2>
</div>
<div id="cancel-message" class="talk_new ml15">
<% if User.current.logged? %>
    <%= form_for @message, :url => new_board_message_path(@board), :html => {:multipart => true, :id => 'message-form'} do |f| %>
          <p class="talk_top"><%= l(:project_module_boards_post) %></p>
          <%= render :partial => 'messages/form_project', :locals => {:f => f} %>
          <p>
            <a href="javascript:void(0)" onclick="submitProjectBoard();" class="blue_btn fl ml55" style="margin-left: 55px"><%= l(:button_submit)%></a>
            <%= link_to l(:button_cancel), project_boards_path(@project), :class => 'grey_btn ml10 fl' %>
          </p>
      <% end %>
    <div id="preview" class="wiki"></div>
    <br/><br/>
<% else %>
    <div class="c_grey f14">
      <%= l(:label_user_login_project_board) %>
      <%= link_to l(:label_user_login_new), signin_path, :class => "c_blue ml5" %>
    </div>
<% end %>
</div>