<%= link_to h(@board.name), :controller => '/boards', :action => 'show', :project_id => @project, :id => @board %> » <%= l(:label_message_new) %>

<%= form_for Message.new, :url => board_topics_path(@board), :html => { :multipart => true, :id => 'message-form'} do |f| %> <%= render :partial => 'messages/form', :locals => {:f => f} %> <%= submit_tag l(:button_create) %> <%= link_to l(:label_preview), preview_board_topics_path(@board, @message), :class => 'preview', :id => 'message-form-preview' %> <% end %>