comments: add standalone new comment form.
Add standalone /comments/new page to allow commenting if javascript is disabled.
This commit is contained in:
13
app/views/comments/new.html.erb
Normal file
13
app/views/comments/new.html.erb
Normal file
@@ -0,0 +1,13 @@
|
||||
<div id="c-comments">
|
||||
<div id="a-new">
|
||||
<h1>New Comment</h1>
|
||||
|
||||
<%= render "comments/form", comment: @comment %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<%= render "secondary_links" %>
|
||||
|
||||
<% content_for(:page_title) do %>
|
||||
New Comment - <%= Danbooru.config.app_name %>
|
||||
<% end %>
|
||||
Reference in New Issue
Block a user