* Removed unapprovals, added post flags and post appeals (still need to update tests)

* Restyled text
This commit is contained in:
albert
2011-03-28 18:48:02 -04:00
parent 42627be1d3
commit f9c961cdc6
66 changed files with 642 additions and 403 deletions

View File

@@ -1,10 +1,8 @@
<article data-forum-post-id="<%= forum_post.id %>">
<div class="author">
<h1><%= link_to forum_post.creator.name, user_path(forum_post.creator_id) %></h1>
<h4><%= link_to forum_post.creator.name, user_path(forum_post.creator_id) %></h4>
<p>
<time datetime="<%= forum_post.created_at %>">
<%= time_ago_in_words(forum_post.created_at) %> ago
</time>
<%= time_ago_in_words(forum_post.created_at) %> ago
</p>
</div>
<div class="content">

View File

@@ -1,6 +1,6 @@
<div id="c-forum-topics">
<div id="a-edit">
<h1>Edit Forum Post</h1>
<h3>Edit Forum Post</h3>
<%= render "form" %>
</div>

View File

@@ -1,6 +1,6 @@
<div id="c-forum-topics">
<div id="a-new">
<h1>New Forum Post</h1>
<h3>New Forum Post</h3>
<%= render "form" %>
<%= error_messages_for "forum_post" %>
</div>

View File

@@ -1,6 +1,6 @@
<div id="c-forum-topics">
<div id="a-search">
<h1>Search Forum Posts</h1>
<h3>Search Forum Posts</h3>
<%= simple_form_for @search do |f| %>
<%= f.input :topic_title_matches, :label => "Title" %>
<%= f.input :body_matches, :label => "Body" %>