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

11 lines
464 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|
= form_errors(@gpg_key)
.form-group
2018-11-18 11:00:15 +05:30
= f.label :key, class: 'label-bold'
2017-09-10 17:25:29 +05:30
= f.text_area :key, class: "form-control", 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-----'."
.prepend-top-default
2018-12-05 23:21:45 +05:30
= f.submit 'Add key', class: "btn btn-success"