Commit 53920cb3 authored by Kushal Pandya's avatar Kushal Pandya

Merge branch '354596-migrate-saml-alert' into 'master'

Update saml response alert

See merge request gitlab-org/gitlab!83226
parents 09327f50 6a165459
= bootstrap_form_for @saml_response_check.tap(&:valid?), url: '#', html: { class: 'gl-show-field-errors' } do |f| = bootstrap_form_for @saml_response_check.tap(&:valid?), url: '#', html: { class: 'gl-show-field-errors' } do |f|
- if f.object.valid? - if f.object.valid?
.gl-alert.gl-alert-success = render 'shared/global_alert',
.gl-alert-container variant: :success do
= sprite_icon('check-circle', css_class: 'gl-icon gl-alert-icon gl-alert-icon-no-title') .gl-alert-body
.gl-alert-content = s_('GroupSAML|Valid SAML Response')
.gl-alert-body
= s_('GroupSAML|Valid SAML Response')
= f.errors_on :xml_response, hide_attribute_name: true = f.errors_on :xml_response, hide_attribute_name: true
= f.text_field :name_id, disabled: true, label: s_('GroupSAML|NameID'), label_class: 'label-bold', input_group_class: 'gl-field-error-anchor' = f.text_field :name_id, disabled: true, label: s_('GroupSAML|NameID'), label_class: 'label-bold', input_group_class: 'gl-field-error-anchor'
= f.text_field :name_id_format, disabled: true, label: s_('GroupSAML|NameID Format'), label_class: 'label-bold', input_group_class: 'gl-field-error-anchor' = f.text_field :name_id_format, disabled: true, label: s_('GroupSAML|NameID Format'), label_class: 'label-bold', input_group_class: 'gl-field-error-anchor'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment