From 0687625049519b779b25afc2b74bdc02ef78e9da Mon Sep 17 00:00:00 2001 From: Skud Date: Mon, 1 Sep 2014 22:30:08 +1000 Subject: [PATCH] Quick and dirty fix for layout of settings tabs --- app/views/devise/registrations/_edit_apps.html.haml | 1 + app/views/devise/registrations/_edit_email.html.haml | 1 + app/views/devise/registrations/_edit_password.html.haml | 1 + app/views/devise/registrations/_edit_profile.html.haml | 1 + 4 files changed, 4 insertions(+) diff --git a/app/views/devise/registrations/_edit_apps.html.haml b/app/views/devise/registrations/_edit_apps.html.haml index df5d17c88..6445c0bc0 100644 --- a/app/views/devise/registrations/_edit_apps.html.haml +++ b/app/views/devise/registrations/_edit_apps.html.haml @@ -1,4 +1,5 @@ = form_for(resource, :as => resource_name, :url => registration_path(resource_name), :html => { :method => :put, :class => 'form-horizontal' }) do |f| + %br/ = devise_error_messages! .row diff --git a/app/views/devise/registrations/_edit_email.html.haml b/app/views/devise/registrations/_edit_email.html.haml index 61df13f91..ca0db1131 100644 --- a/app/views/devise/registrations/_edit_email.html.haml +++ b/app/views/devise/registrations/_edit_email.html.haml @@ -1,4 +1,5 @@ = form_for(resource, :as => resource_name, :url => registration_path(resource_name), :html => { :method => :put, :class => 'form-horizontal' }) do |f| + %br/ = devise_error_messages! .form-group diff --git a/app/views/devise/registrations/_edit_password.html.haml b/app/views/devise/registrations/_edit_password.html.haml index c70edc96f..3e660ab98 100644 --- a/app/views/devise/registrations/_edit_password.html.haml +++ b/app/views/devise/registrations/_edit_password.html.haml @@ -1,4 +1,5 @@ = form_for(resource, :as => resource_name, :url => registration_path(resource_name), :html => { :method => :put, :class => 'form-horizontal' }) do |f| + %br/ = devise_error_messages! .form-group diff --git a/app/views/devise/registrations/_edit_profile.html.haml b/app/views/devise/registrations/_edit_profile.html.haml index fe33c6fdf..aa3ad0ced 100644 --- a/app/views/devise/registrations/_edit_profile.html.haml +++ b/app/views/devise/registrations/_edit_profile.html.haml @@ -1,4 +1,5 @@ = form_for(resource, :as => resource_name, :url => registration_path(resource_name), :html => { :method => :put, :class => 'form-horizontal' }) do |f| + %br/ = devise_error_messages! .form-group