BigW Consortium Gitlab

_new_crowd.html.haml 708 Bytes
Newer Older
1
= form_tag(omniauth_authorize_path(:user, :crowd), id: 'new_crowd_user', class: 'gl-show-field-errors') do
2
  .form-group
3
    = label_tag :username, 'Username or email'
4 5 6 7
    = text_field_tag :username, nil, {class: "form-control top", title: "This field is required", autofocus: "autofocus", required: true }
  .form-group
    = label_tag :password
    = password_field_tag :password, nil, { class: "form-control bottom", title: "This field is required.", required: true }
Valery Sizov committed
8 9 10 11 12
  - if devise_mapping.rememberable?
    .remember-me.checkbox
      %label{for: "remember_me"}
        = check_box_tag :remember_me, '1', false, id: 'remember_me'
        %span Remember me
13
  = submit_tag "Sign in", class: "btn-save btn"