Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_form.html.haml « identities « admin « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 12c6d43e654131480851c02e97d05d58f7de2535 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
= form_for [:admin, @user, @identity], html: { class: 'fieldset-form' } do |f|
  = form_errors(@identity)

  .form-group.row
    = f.label :provider, class: 'col-form-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.row
    = f.label :extern_uid, "Identifier", class: 'col-form-label'
    .col-sm-10
      = f.text_field :extern_uid, class: 'form-control', required: true

  .form-actions
    = f.submit 'Save changes', class: "btn btn-save"