2023-03-04 22:38:38 +05:30
|
|
|
= gitlab_ui_form_for [:admin, @user, @identity], html: { class: 'fieldset-form' } do |f|
|
2022-10-11 01:57:18 +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
|
2023-03-04 22:38:38 +05:30
|
|
|
= f.submit _('Save changes'), pajamas_button: true
|
2015-09-11 14:41:01 +05:30
|
|
|
|