debian-mirror-gitlab/app/views/admin/identities/_form.html.haml

17 lines
647 B
Text
Raw Normal View History

2015-09-11 14:41:01 +05:30
= form_for [:admin, @user, @identity], html: { class: 'form-horizontal fieldset-form' } do |f|
2016-06-02 11:05:42 +05:30
= form_errors(@identity)
2015-09-11 14:41:01 +05:30
.form-group
= f.label :provider, class: 'control-label'
.col-sm-10
- values = Gitlab::OAuth::Provider.providers.map { |name| ["#{Gitlab::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"