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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
684 B
Text
Raw Normal View History

2018-11-08 19:23:39 +05:30
= form_for [:admin, @user, @identity], html: { class: 'fieldset-form' } do |f|
2016-06-02 11:05:42 +05:30
= form_errors(@identity)
2015-09-11 14:41:01 +05:30
2018-11-08 19:23:39 +05:30
.form-group.row
2019-09-04 21:01:54 +05:30
.col-sm-2.col-form-label
= f.label :provider
2015-09-11 14:41:01 +05:30
.col-sm-10
2018-03-27 19:54:05 +05:30
- values = Gitlab::Auth::OAuth::Provider.providers.map { |name| ["#{Gitlab::Auth::OAuth::Provider.label_for(name)} (#{name})", name] }
2015-09-11 14:41:01 +05:30
= f.select :provider, values, { allow_blank: false }, class: 'form-control'
2018-11-08 19:23:39 +05:30
.form-group.row
2019-09-04 21:01:54 +05:30
.col-sm-2.col-form-label
= f.label :extern_uid, _("Identifier")
2015-09-11 14:41:01 +05:30
.col-sm-10
= f.text_field :extern_uid, class: 'form-control', required: true
.form-actions
2021-01-03 14:25:43 +05:30
= f.submit _('Save changes'), class: "gl-button btn btn-success"
2015-09-11 14:41:01 +05:30