comparison app/views/layouts/application.html.erb @ 139:255f8f9455a0

Simplified base layout.
author Edho Arief <edho@myconan.net>
date Mon, 12 Nov 2012 17:49:14 +0700
parents d100218b96c9
children 113ee07f1871
comparison
equal deleted inserted replaced
138:256c178458dc 139:255f8f9455a0
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <meta http-equiv="Content-type" content="text/html;charset=UTF-8"> 4 <meta http-equiv="Content-type" content="text/html;charset=UTF-8">
5 <title><%= html_title %></title> 5 <title><%= html_title %></title>
6 <%= stylesheet_link_tag "application", :media => "all" %> 6 <%= stylesheet_link_tag "application", :media => "all" %>
7 <%= javascript_include_tag "application" %> 7 <%= javascript_include_tag "application" %>
8 <% unless @skip_csrf %> 8 <% unless @skip_csrf %>
9 <%= csrf_meta_tags %> 9 <%= csrf_meta_tags %>
10 <% end %> 10 <% end %>
11 </head> 11 </head>
12 <body> 12 <body>
13 13
14 <div class="container-fluid"> 14 <div class="container-fluid">
15 <div class="row-fluid"> 15 <div class="row-fluid">
16 <div class="span12"> 16 <div class="span12">
17 <%= yield %> 17
18 </div> 18 <%= yield %>
19 </div> 19
20 </div> 20 <div class="footer">
21 <footer class="footer"> 21 <hr />
22 <div class="container-fluid"> 22 <p>Zeropaste &copy; edogawaconan 2012. <a href="https://bitbucket.org/edogawaconan/zeropaste">Source</a>.</p>
23 <div class="row-fluid"> 23 </div>
24 <div class="span12"> 24 </div>
25 <hr>
26 <p>Zeropaste &copy; edogawaconan 2012. <a href="https://bitbucket.org/edogawaconan/zeropaste">Source</a>.</p>
27 </div> 25 </div>
28 </div> 26 </div>
29 </div>
30 </footer>
31 27
32 </body> 28 </body>
33 </html> 29 </html>