summaryrefslogtreecommitdiffstats
path: root/app/views/news
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2009-02-02 17:34:12 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2009-02-02 17:34:12 +0000
commitbf107f000d230ecff0b43d1ad2d6bdf5d579d256 (patch)
treeadcfd0d2a2379779d32cea1e7c63140743dc4ef9 /app/views/news
parent299f1b87aa23817683ff7ce9a2fb2fcc0b3ee5ab (diff)
downloadredmine-bf107f000d230ecff0b43d1ad2d6bdf5d579d256.tar.gz
redmine-bf107f000d230ecff0b43d1ad2d6bdf5d579d256.zip
Adds a 'box' div around news comment form (#2632).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2353 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/news')
-rw-r--r--app/views/news/show.rhtml6
1 files changed, 4 insertions, 2 deletions
diff --git a/app/views/news/show.rhtml b/app/views/news/show.rhtml
index 78be9c247..896492736 100644
--- a/app/views/news/show.rhtml
+++ b/app/views/news/show.rhtml
@@ -48,8 +48,10 @@
<% 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 %>