Mercurial > zeropaste
diff 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 |
line wrap: on
line diff
--- a/app/views/layouts/application.html.erb Mon Nov 12 17:45:33 2012 +0700 +++ b/app/views/layouts/application.html.erb Mon Nov 12 17:49:14 2012 +0700 @@ -1,33 +1,29 @@ <!DOCTYPE html> <html> -<head> - <meta http-equiv="Content-type" content="text/html;charset=UTF-8"> - <title><%= html_title %></title> - <%= stylesheet_link_tag "application", :media => "all" %> - <%= javascript_include_tag "application" %> - <% unless @skip_csrf %> - <%= csrf_meta_tags %> - <% end %> -</head> -<body> + <head> + <meta http-equiv="Content-type" content="text/html;charset=UTF-8"> + <title><%= html_title %></title> + <%= stylesheet_link_tag "application", :media => "all" %> + <%= javascript_include_tag "application" %> + <% unless @skip_csrf %> + <%= csrf_meta_tags %> + <% end %> + </head> + <body> -<div class="container-fluid"> - <div class="row-fluid"> - <div class="span12"> - <%= yield %> - </div> - </div> -</div> -<footer class="footer"> - <div class="container-fluid"> - <div class="row-fluid"> - <div class="span12"> - <hr> - <p>Zeropaste © edogawaconan 2012. <a href="https://bitbucket.org/edogawaconan/zeropaste">Source</a>.</p> + <div class="container-fluid"> + <div class="row-fluid"> + <div class="span12"> + + <%= yield %> + + <div class="footer"> + <hr /> + <p>Zeropaste © edogawaconan 2012. <a href="https://bitbucket.org/edogawaconan/zeropaste">Source</a>.</p> + </div> + </div> </div> </div> - </div> -</footer> -</body> + </body> </html>