diff --git a/app/views/devise/registrations/new.html.slim b/app/views/devise/registrations/new.html.slim index e700c48..14b0174 100644 --- a/app/views/devise/registrations/new.html.slim +++ b/app/views/devise/registrations/new.html.slim @@ -1,11 +1,13 @@ = title 'Sign up' + +.no-header-fix h2.text-center Sign up .omniauth-links = link_to "Sign up with #{fa_icon('vk')}".html_safe, user_vkontakte_omniauth_authorize_path, class: 'omniauth-link' = simple_form_for(resource, as: resource_name, url: registration_path(resource_name), defaults: { required: true, label: false }) do |f| - = devise_error_messages! + / = devise_error_messages! = f.input :name, placeholder: 'Full name' = f.input :email, placeholder: 'Email' = f.input :password, placeholder: 'Password', autocomplete: 'off', hint: "(#{@minimum_password_length} characters minimum)" diff --git a/app/views/devise/sessions/new.html.slim b/app/views/devise/sessions/new.html.slim index a8da445..1374c9d 100644 --- a/app/views/devise/sessions/new.html.slim +++ b/app/views/devise/sessions/new.html.slim @@ -1,4 +1,6 @@ = title 'Sign in' + +.no-header-fix h2.text-center Sign in .omniauth-links