@@ -30,16 +30,17 | |||
|
30 | 30 | <div class="contextual"> |
|
31 | 31 | <%= link_to_if_authorized l(:button_delete), {:controller => 'news', :action => 'destroy_comment', :id => @news, :comment_id => comment}, :confirm => l(:text_are_you_sure), :method => :post, :class => 'icon icon-del' %> |
|
32 | 32 | </div> |
|
33 |
<%= |
|
|
33 | <%= textilizable(comment.comments) %> | |
|
34 | 34 | <% end if @news.comments_count > 0 %> |
|
35 | 35 | </div> |
|
36 | 36 | |
|
37 | 37 | <% if authorize_for 'news', 'add_comment' %> |
|
38 | 38 | <p><%= toggle_link l(:label_comment_add), "add_comment_form", :focus => "comment_comments" %></p> |
|
39 | 39 | <% form_tag({:action => 'add_comment', :id => @news}, :id => "add_comment_form", :style => "display:none;") do %> |
|
40 |
<%= text_area 'comment', 'comments', :cols => |
|
|
40 | <%= text_area 'comment', 'comments', :cols => 80, :rows => 15, :class => 'wiki-edit' %> | |
|
41 | <%= wikitoolbar_for 'comment_comments' %> | |
|
41 | 42 | <p><%= submit_tag l(:button_add) %></p> |
|
42 | 43 | <% end %> |
|
43 | 44 | <% end %> |
|
44 | 45 | |
|
45 |
<% set_html_title |
|
|
46 | <% set_html_title(h(@news.title)) -%> |
General Comments 0
You need to be logged in to leave comments.
Login now