changeset 139:255f8f9455a0

Simplified base layout.
author Edho Arief <edho@myconan.net>
date Mon, 12 Nov 2012 17:49:14 +0700
parents 256c178458dc
children 13ada93ad6a2
files app/views/layouts/application.html.erb
diffstat 1 files changed, 22 insertions(+), 26 deletions(-) [+]
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 &copy; 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 &copy; edogawaconan 2012. <a href="https://bitbucket.org/edogawaconan/zeropaste">Source</a>.</p>
+          </div>
+        </div>
       </div>
     </div>
-  </div>
-</footer>
 
-</body>
+  </body>
 </html>