idk, lots

This commit is contained in:
jomo
2014-02-01 00:56:50 +01:00
parent 86452ea00b
commit 02f9664624
30 changed files with 1467 additions and 54 deletions

View File

@@ -8,9 +8,7 @@
<div class="forums">
<% group.forums.each do |f| %>
<div class="forum">
<%= link_to f.name, f %>
</div>
<%= link_to f.name, f, class: "forum" %>
<% end %>
</div>

View File

@@ -1,11 +1,11 @@
<%= link_to "Forums", forums_path %> → <%= link_to @forum.group, @forum.group %> → <%= link_to @forum %>
<%= link_to @forum.group, forumgroup_path(@forum.group) %> → <%= link_to @forum %>
<h1><%= @forum.name %></h1>
<%= link_to "New thread", new_forumthread_path, class: "btn blue" %>
<div id="forum_threads">
<% @threads.each do |thread| %>
<div class="group" id="thread-<%= thread.id %>">
<div class="header">
<%= thread.name %>
<%= link_to thread.title, forumthread_path(thread) %>
</div>
</div>
<% end %>