debian-mirror-gitlab/app/views/profiles/gpg_keys/_form.html.haml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
533 B
Text
Raw Normal View History

2017-09-10 17:25:29 +05:30
%div
= form_for [:profile, @gpg_key], html: { class: 'js-requires-input' } do |f|
2022-08-13 15:12:31 +05:30
= form_errors(@gpg_key, pajamas_alert: true)
2017-09-10 17:25:29 +05:30
.form-group
2019-09-04 21:01:54 +05:30
= f.label :key, s_('Profiles|Key'), class: 'label-bold'
2021-04-29 21:17:54 +05:30
= f.text_area :key, class: "form-control gl-form-input", rows: 8, required: true, placeholder: _("Don't paste the private part of the GPG key. Paste the public part which begins with '-----BEGIN PGP PUBLIC KEY BLOCK-----'.")
2017-09-10 17:25:29 +05:30
2020-07-28 23:09:34 +05:30
.gl-mt-3
2021-04-29 21:17:54 +05:30
= f.submit s_('Profiles|Add key'), class: "gl-button btn btn-confirm"