diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-12-16 21:11:52 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-12-16 21:11:52 +0200 |
commit | 42003f531233d0e2c99dd8d217bb5ce228ca22e4 (patch) | |
tree | 4e3b6b24af87e542dcb679e380b6a699e6217ea1 /app/views/devise/registrations/new.html.haml | |
parent | 6f556d8e71a777b6eaf45ad2f2d243c4e9ff1381 (diff) | |
download | gitlab-ce-42003f531233d0e2c99dd8d217bb5ce228ca22e4.tar.gz |
Improve UI/UX for reset_password, signup, confirmation pages
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views/devise/registrations/new.html.haml')
-rw-r--r-- | app/views/devise/registrations/new.html.haml | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/app/views/devise/registrations/new.html.haml b/app/views/devise/registrations/new.html.haml index d749d7bac09..a3ac3e43565 100644 --- a/app/views/devise/registrations/new.html.haml +++ b/app/views/devise/registrations/new.html.haml @@ -1,7 +1,7 @@ = form_for(resource, as: resource_name, url: registration_path(resource_name), html: { class: "login-box" }) do |f| %h3.page-title Sign Up - %br - = devise_error_messages! + .devise-errors + = devise_error_messages! %div = f.text_field :name, class: "text top", placeholder: "Name", required: true %div @@ -15,5 +15,10 @@ %div = f.submit "Sign up", class: "btn-create btn" %hr - = link_to "Sign in", new_session_path(resource_name) - = link_to "Forgot your password?", new_password_path(resource_name), class: "pull-right" + %p + %span.light + Have an account? + %strong + = link_to "Sign in", new_session_path(resource_name) + %p + = link_to "Forgot your password?", new_password_path(resource_name) |