]> source.dussan.org Git - redmine.git/commitdiff
Adds a 'box' div around news comment form (#2632).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Mon, 2 Feb 2009 17:34:12 +0000 (17:34 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Mon, 2 Feb 2009 17:34:12 +0000 (17:34 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2353 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/news/show.rhtml

index 78be9c247c1e576cd20c7d88761704b326baada4..8964927369ae3720dacf9d7af058f73ca5b4812b 100644 (file)
 <% if authorize_for 'news', 'add_comment' %>
 <p><%= toggle_link l(:label_comment_add), "add_comment_form", :focus => "comment_comments" %></p>
 <% form_tag({:action => 'add_comment', :id => @news}, :id => "add_comment_form", :style => "display:none;") do %>
-<%= text_area 'comment', 'comments', :cols => 80, :rows => 15, :class => 'wiki-edit' %>
-<%= wikitoolbar_for 'comment_comments' %>
+<div class="box">
+    <%= text_area 'comment', 'comments', :cols => 80, :rows => 15, :class => 'wiki-edit' %>
+    <%= wikitoolbar_for 'comment_comments' %>
+</div>
 <p><%= submit_tag l(:button_add) %></p>
 <% end %>
 <% end %>