Commit 6a165459 authored by Alexander Turinske's avatar Alexander Turinske

Update saml response alert

- use shared component

Changelog: other

EE: true
parent 6d7f66dc
= 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