debian-mirror-gitlab/app/views/admin/identities/_form.html.haml
2018-03-27 19:54:05 +05:30

16 lines
659 B
Text

= form_for [:admin, @user, @identity], html: { class: 'form-horizontal fieldset-form' } do |f|
= form_errors(@identity)
.form-group
= f.label :provider, class: 'control-label'
.col-sm-10
- values = Gitlab::Auth::OAuth::Provider.providers.map { |name| ["#{Gitlab::Auth::OAuth::Provider.label_for(name)} (#{name})", name] }
= f.select :provider, values, { allow_blank: false }, class: 'form-control'
.form-group
= f.label :extern_uid, "Identifier", class: 'control-label'
.col-sm-10
= f.text_field :extern_uid, class: 'form-control', required: true
.form-actions
= f.submit 'Save changes', class: "btn btn-save"