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

_new_crowd.html.haml « sessions « devise « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: fb4c011dd498807d837a31d84146aca3ee1739cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
= form_tag(omniauth_authorize_path(:user, :crowd), id: 'new_crowd_user', class: 'gl-show-field-errors') do
  .form-group
    = label_tag :username, _('Username or email')
    = 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, { autocomplete: 'current-password', class: "form-control bottom", title: _("This field is required."), required: true }
  - if devise_mapping.rememberable?
    .remember-me
      %label{ for: "remember_me" }
        = check_box_tag :remember_me, '1', false, id: 'remember_me'
        %span= _('Remember me')
  = submit_tag _("Sign in"), class: "gl-button btn-confirm btn"