page titles

This commit is contained in:
jomo
2014-06-16 00:05:09 +02:00
parent 19eb868a50
commit 03efb744d1
29 changed files with 60 additions and 19 deletions

View File

@@ -1,3 +1,5 @@
<% title "Edit Thread: #{@thread}" %>
<h1>Edit thread</h1>
<%= link_to @thread.forum.group, forumgroup_path(@thread.forum.group) %> → <%= link_to @thread.forum, @thread.forum %> → New thread
<%= form_for @thread do |f|%>

View File

@@ -1,3 +1,5 @@
<% title "New Thread: #{@thread.forum.title}" %>
<%= link_to @thread.forum.group, forumgroup_path(@thread.forum.group) %> → <%= link_to @thread.forum, @thread.forum %> → New thread
<h1>New thread</h1>
<%= form_for @thread do |f|%>

View File

@@ -1,3 +1,5 @@
<% title @thread.title %>
<%= link_to @thread.forum.group, forumgroup_path(@thread.forum.group) %> → <%= link_to @thread.forum, @thread.forum %> → <%= link_to @thread %>
<div class="item-group thread with-avatar" id="thread-<%= @thread.id %>">
<div class="header">