gitlabhq/app/views/devise/registrations/new.html.haml
2013-02-07 13:20:33 +02:00

19 lines
959 B
Plaintext

= 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"
= devise_error_messages!
%div
= f.text_field :name, class: "text top", placeholder: "Name", required: true
%div
= f.text_field :username, class: "text middle", placeholder: "Username", required: true
%div
= f.email_field :email, class: "text middle", placeholder: "Email", required: true
%div
= f.password_field :password, class: "text middle", placeholder: "Password", required: true
%div
= f.password_field :password_confirmation, class: "text bottom", placeholder: "Confirm password", required: true
%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"