Skip to content
Snippets Groups Projects
Commit 77d27019 authored by Sharmad Nachnolkar's avatar Sharmad Nachnolkar :two: Committed by Denys Mishunov
Browse files

Migrate errors in GPG keys to Pajamas alert

Use Pajamas alert component to display errors
shown when adding an invalid GPG key.

Changelog: changed
parent 76eecbfd
No related branches found
No related tags found
1 merge request!90897Migrate `form_errors` in GPG keys to Pajamas alert
%div
= form_for [:profile, @gpg_key], html: { class: 'js-requires-input' } do |f|
= form_errors(@gpg_key)
= form_errors(@gpg_key, pajamas_alert: true)
.form-group
= f.label :key, s_('Profiles|Key'), class: 'label-bold'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment