From 4a25cdc282e8a8ae26e7604f00f71d84bcc22791 Mon Sep 17 00:00:00 2001 From: Alberto Garcia Cabeza Date: Thu, 1 Oct 2015 14:16:28 +0200 Subject: [PATCH] Fixes sticky footer on devise layout --- app/views/layouts/devise.html.erb | 64 ++++++++++++++++--------------- 1 file changed, 33 insertions(+), 31 deletions(-) diff --git a/app/views/layouts/devise.html.erb b/app/views/layouts/devise.html.erb index a4a62f070..a2a79796f 100644 --- a/app/views/layouts/devise.html.erb +++ b/app/views/layouts/devise.html.erb @@ -13,39 +13,41 @@ - -
-
-

- <%= link_to root_path do %> - <%= image_tag('header_logo_madrid.png', class: 'show-for-medium-up left', size: '96x96') %> - <%= t("layouts.header.open_gov", open: "#{t('layouts.header.open')}").html_safe %> - <% end %> -

-
-
- -
-
-
- <% if notice %> -
- ">× - <%= notice %> -
- <% end %> - - <% if alert %> -
- ">× - <%= alert %> -
- <% end %> - - <%= yield %> - +
+
+
+

+ <%= link_to root_path do %> + <%= image_tag('header_logo_madrid.png', class: 'show-for-medium-up left', size: '96x96') %> + <%= t("layouts.header.open_gov", open: "#{t('layouts.header.open')}").html_safe %> + <% end %> +

+ +
+
+
+ <% if notice %> +
+ ">× + <%= notice %> +
+ <% end %> + + <% if alert %> +
+ ">× + <%= alert %> +
+ <% end %> + + <%= yield %> + +
+
+
+