2018-11-08 19:23:39 +05:30
|
|
|
= form_for [:admin, @user, @identity], html: { class: 'fieldset-form' } do |f|
|
2022-08-13 15:12:31 +05:30
|
|
|
= form_errors(@identity, pajamas_alert: true)
|
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
|
2022-07-23 23:45:48 +05:30
|
|
|
= f.submit _('Save changes'), class: "gl-button btn btn-confirm"
|
2015-09-11 14:41:01 +05:30
|
|
|
|