##// END OF EJS Templates
Adds a 'box' div around news comment form (#2632)....
Jean-Philippe Lang -
r2351:bf107f000d23
parent child
Show More
@@ -48,8 +48,10
48 <% if authorize_for 'news', 'add_comment' %>
48 <% if authorize_for 'news', 'add_comment' %>
49 <p><%= toggle_link l(:label_comment_add), "add_comment_form", :focus => "comment_comments" %></p>
49 <p><%= toggle_link l(:label_comment_add), "add_comment_form", :focus => "comment_comments" %></p>
50 <% form_tag({:action => 'add_comment', :id => @news}, :id => "add_comment_form", :style => "display:none;") do %>
50 <% form_tag({:action => 'add_comment', :id => @news}, :id => "add_comment_form", :style => "display:none;") do %>
51 <div class="box">
51 <%= text_area 'comment', 'comments', :cols => 80, :rows => 15, :class => 'wiki-edit' %>
52 <%= text_area 'comment', 'comments', :cols => 80, :rows => 15, :class => 'wiki-edit' %>
52 <%= wikitoolbar_for 'comment_comments' %>
53 <%= wikitoolbar_for 'comment_comments' %>
54 </div>
53 <p><%= submit_tag l(:button_add) %></p>
55 <p><%= submit_tag l(:button_add) %></p>
54 <% end %>
56 <% end %>
55 <% end %>
57 <% end %>
General Comments 0
You need to be logged in to leave comments. Login now