This repository has been archived on 2020-05-27. You can view files and clone it, but cannot push or open issues/pull-requests.
tuxbliki/app/views/comments/new.html.erb

13 lines
389 B
Plaintext

<% throw_content :for_sidebar do -%>
<a href="<%= url(:page, :id => @page.name.gsub(/ /, '_')) -%>"><img src="/images/text-html.png" alt="Return to page" /> Return to <%= @page.name -%></a><br />
<% end -%>
<%= error_messages_for :comment %>
<% form_for :comment, :action => url(:comments) do %>
<%= partial :comment_form %>
<p>
<%= submit_button 'Create' %>
</p>
<% end -%>