gitlabhq/app/views/devise/registrations/new.html.haml

19 lines
959 B
Plaintext
Raw Normal View History

2013-02-07 12:20:33 +01:00
= form_for(resource, as: resource_name, url: registration_path(resource_name), html: { class: "login-box" }) do |f|
= image_tag "login-logo.png", width: "304", height: "66", class: "login-logo", alt: "Login Logo"
2012-11-06 14:30:48 +01:00
= devise_error_messages!
%div
2013-02-07 12:20:33 +01:00
= f.text_field :name, class: "text top", placeholder: "Name", required: true
2012-11-06 14:30:48 +01:00
%div
2013-02-07 12:20:33 +01:00
= f.text_field :username, class: "text middle", placeholder: "Username", required: true
2012-11-06 14:30:48 +01:00
%div
2013-02-07 12:20:33 +01:00
= f.email_field :email, class: "text middle", placeholder: "Email", required: true
2012-11-06 14:30:48 +01:00
%div
2013-02-07 12:20:33 +01:00
= f.password_field :password, class: "text middle", placeholder: "Password", required: true
2012-11-06 14:30:48 +01:00
%div
2013-02-07 12:20:33 +01:00
= f.password_field :password_confirmation, class: "text bottom", placeholder: "Confirm password", required: true
2012-11-06 14:30:48 +01:00
%div
2013-02-07 12:20:33 +01:00
= f.submit "Sign up", class: "btn-create btn"
2012-11-06 14:30:48 +01:00
%hr
= link_to "Sign in", new_session_path(resource_name)
2013-02-07 12:20:33 +01:00
= link_to "Forgot your password?", new_password_path(resource_name), class: "pull-right"