| <% tinymce('advanced') %> |
| |
| <% @overview = "Discussion about #{link_to_page @page}" %> |
| |
| <div id="menu"> |
| <%= link_to_notification_toggle(@page, Page.name) %> |
| </div> |
| |
| <div id="commentsList"> |
| <% @comments.each do |comment | %> |
| <p><%= comment.created_on.localtime.strftime(TIME_FORMAT) %> |
| <div class="comment"><%= comment.text %></div> |
| <div class="commentfooter"><%= link_to_user comment.user %></div> |
| </p> |
| <% end %> |
| </div> |
| |
| <%= error_messages_for :comment %> |
| |
| <% tabular_form_for :comment do |f| %> |
| <%= f.text_area 'text', :cols => 80, :rows => 10 %> |
| <%= f.hidden_field 'page_id' %> |
| <tr><th></th><td><%= submit_tag "Submit" %></td></tr> |
| <% end %> |
| |
| <p> |
| <%= render :partial => 'relationships' %> |
| </p> |