Welcome to mirror list, hosted at ThFree Co, Russian Federation.

new.html.haml « registrations « devise « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d6a952f3dc55245d017ba83d40780e1cd71ba373 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
.login-box
  .login-heading
    %h3 Sign up
  .login-body
    = form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f|
      .devise-errors
        = devise_error_messages!
      %div
        = f.text_field :name, class: "form-control top", placeholder: "Name", required: true
      %div
        = f.text_field :username, class: "form-control middle", placeholder: "Username", required: true
      %div
        = f.email_field :email, class: "form-control middle", placeholder: "Email", required: true
      %div
        = f.password_field :password, class: "form-control middle", placeholder: "Password", required: true
      %div
        = f.password_field :password_confirmation, class: "form-control bottom", placeholder: "Confirm password", required: true
      %div
        = f.submit "Sign up", class: "btn-create btn"
  .login-footer
    %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)