diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-12-16 23:11:52 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-12-16 23:11:52 +0400 |
commit | 42003f531233d0e2c99dd8d217bb5ce228ca22e4 (patch) | |
tree | 4e3b6b24af87e542dcb679e380b6a699e6217ea1 /app/views/devise/confirmations/new.html.haml | |
parent | 6f556d8e71a777b6eaf45ad2f2d243c4e9ff1381 (diff) |
Improve UI/UX for reset_password, signup, confirmation pages
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views/devise/confirmations/new.html.haml')
-rw-r--r-- | app/views/devise/confirmations/new.html.haml | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/app/views/devise/confirmations/new.html.haml b/app/views/devise/confirmations/new.html.haml index 387ec7676d4..cf111e1f02b 100644 --- a/app/views/devise/confirmations/new.html.haml +++ b/app/views/devise/confirmations/new.html.haml @@ -1,8 +1,14 @@ .login-box %h3.page-title Resend confirmation instructions = form_for(resource, as: resource_name, url: confirmation_path(resource_name), html: { method: :post }) do |f| - = devise_error_messages! - = f.email_field :email, placeholder: 'Email' - %div= f.submit "Resend confirmation instructions", class: 'btn btn-success' + .devise-errors + = devise_error_messages! + = f.email_field :email, placeholder: 'Email', class: "text", required: true + .clearfix.append-bottom-10 + = f.submit "Resend confirmation instructions", class: 'btn btn-success' %hr - = link_to "Sign in", new_session_path(resource_name) + %p + %span.light + Already have login and password? + %strong + = link_to "Sign in", new_session_path(resource_name) |