forked from e621ng/e621ng

- Use a helper function to add it to every title (except the root path which is just the app_name) - Remove useless set_title function in application_controllerller
18 lines
382 B
Plaintext
18 lines
382 B
Plaintext
<div id="c-forum-posts">
|
|
<div id="a-new">
|
|
<% if @forum_topic %>
|
|
<h1>Reply to <%= @forum_topic.title %></h1>
|
|
<% else %>
|
|
<h1>New Forum Post</h1>
|
|
<% end %>
|
|
|
|
<%= render "forum_posts/partials/new/form", :forum_post => @forum_post %>
|
|
</div>
|
|
</div>
|
|
|
|
<%= render "forum_topics/secondary_links" %>
|
|
|
|
<% content_for(:page_title) do %>
|
|
New Forum Post
|
|
<% end %>
|