Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 7a1e787679
Fetching contributors…

Cannot retrieve contributors at this time

75 lines (72 sloc) 2.501 kb
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<%= csrf_meta_tags %>
<title><%= h yield(:title) %></title>
<%= stylesheet_link_tag "application", :media => "all" %>
</head>
<body>
<div id="wrapper">
<div id="header" class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<%= link_to "BestofAMA", root_path, :class => "brand" %>
<ul class="nav pull-right">
<li><%= link_to "Redditors", entities_path %></li>
<li><%= link_to "Categories", tags_path %></li>
<li><%= link_to "Submit", submit_path %></li>
</ul>
</div>
</div>
</div>
<div id="content">
<div class="container">
<% if flash[:notice] %>
<div class="row">
<div class="span12">
<div class="alert">
<button type="button" class="close" data-dismiss="alert">×</button>
<%= flash[:notice] %>
</div>
</div>
</div>
<% end %>
<% if flash[:error] %>
<div class="row">
<div class="span12">
<div class="alert alert-danger">
<button type="button" class="close" data-dismiss="alert">×</button>
<%= flash[:error] %>
</div>
</div>
</div>
<% end %>
<%= yield %>
</div>
</div>
<div id="footer">
<div class="container">
<hr/>
<div class="row">
<div id="footer-links" class="span10 pull-left">
<%= link_to "Privacy Policy", page_path(:id => "privacy"), :rel => :nofollow %>
<%= link_to "Terms of Service", page_path(:id => "terms"), :rel => :nofollow %>
<%= link_to "Source Code", "https://github.com/andey/bestofama" %>
<%= link_to "Contact", page_path(:id => "contact"), :rel => :nofollow %>
<footer>
Copyright © 2013 BestofAMA.com, All rights reserved.
</footer>
</div>
<div class="span2" style="text-align: right;">
<%= link_to image_tag('links/48x48/48x48-twitter.png'), 'https://twitter.com/BestofAMAs', :alt => "Follow us on Twitter" %>
<%= link_to image_tag('links/48x48/48x48-rss.png'), 'http://feeds.feedburner.com/bestofama', :alt => "Follow our RSS feed" %>
</div>
</div>
</div>
</div>
</div>
</div>
<%= javascript_include_tag "application" %>
</body>
</html>
Jump to Line
Something went wrong with that request. Please try again.