Skip to content

Commit

Permalink
Add faq class and styling
Browse files Browse the repository at this point in the history
  • Loading branch information
sarken committed Mar 21, 2012
1 parent ce650bf commit ca3524e
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 10 deletions.
15 changes: 5 additions & 10 deletions app/views/archive_faqs/show.html.erb
@@ -1,26 +1,21 @@
<!--Descriptive page name, messages and instructions-->
<h2 class="heading"><%= t("archive_faq", :default => "Archive FAQ") %></h2>
<h2 class="heading"><%= link_to t("archive_faq", :default => "Archive FAQ"), archive_faqs_path %> > <%= @archive_faq.title %></h2>
<!--/descriptions-->

<!--subnav-->
<ul class="navigation actions" role="navigation">
<li><%= link_to t('.back_to_archive_faq_text', :default => 'Back to Archive FAQ'), archive_faqs_path %></li>
</ul>

<!--/subnav-->

<!--main content-->
<div class="admin" role="article">
<div class="header">
<h3 class="heading">
<%= @archive_faq.title %>
</h3>
<% if logged_in_as_admin? %>
<h4 class="heading">
<h3 class="heading">
Updated: <%=h @archive_faq.updated_at %> | <%= link_to 'Edit', edit_archive_faq_path(@archive_faq) %>
</h4>
</h3>
<% end %>
</div>
<div class="userstuff">
<div class="faq userstuff">
<%=raw sanitize_field(@archive_faq, :content) %>
</div>
</div>
Expand Down
11 changes: 11 additions & 0 deletions public/stylesheets/site/2.0/21-userstuff.css
Expand Up @@ -147,4 +147,15 @@
float: none;
}

/* FAQ PAGES */

.faq {
max-width: 72em;
margin: auto;
}

.faq h3 {
margin-top: 3em;
}

/*END== */

0 comments on commit ca3524e

Please sign in to comment.