diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2012-01-04 12:55:07 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2012-01-04 12:55:07 +0000 |
commit | 50a2a1321d0b972f9bb2eaf981a0a74250f19e4e (patch) | |
tree | df348691d9c9bb58ce11fc2c14c45cb004cc41d1 /app/views/messages | |
parent | f25aa904902b4001ed7ac1684e11b697ac304b67 (diff) | |
download | redmine-50a2a1321d0b972f9bb2eaf981a0a74250f19e4e.tar.gz redmine-50a2a1321d0b972f9bb2eaf981a0a74250f19e4e.zip |
code layout clean up app/views/messages/edit.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8501 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/messages')
-rw-r--r-- | app/views/messages/edit.html.erb | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/app/views/messages/edit.html.erb b/app/views/messages/edit.html.erb index b5bfcd19e..c8ce847dc 100644 --- a/app/views/messages/edit.html.erb +++ b/app/views/messages/edit.html.erb @@ -1,14 +1,18 @@ -<h2><%= link_to h(@board.name), :controller => 'boards', :action => 'show', :project_id => @project, :id => @board %> » <%=h @message.subject %></h2> +<h2><%= link_to h(@board.name), :controller => 'boards', + :action => 'show', :project_id => @project, + :id => @board %> » <%= h @message.subject %></h2> <% form_for :message, @message, :url => {:action => 'edit'}, :html => {:multipart => true, :id => 'message-form', :method => :post} do |f| %> - <%= render :partial => 'form', :locals => {:f => f, :replying => !@message.parent.nil?} %> + <%= render :partial => 'form', + :locals => {:f => f, :replying => !@message.parent.nil?} %> <%= submit_tag l(:button_save) %> <%= link_to_remote l(:label_preview), - { :url => { :controller => 'messages', :action => 'preview', :board_id => @board }, + { :url => { :controller => 'messages', + :action => 'preview', :board_id => @board }, :method => 'post', :update => 'preview', :with => "Form.serialize('message-form')", |