debian-mirror-gitlab/app/views/profiles/keys/_form.html.haml
2016-06-02 11:05:42 +05:30

13 lines
443 B
Text

%div
= form_for [:profile, @key], html: { class: 'js-requires-input' } do |f|
= form_errors(@key)
.form-group
= f.label :key, class: 'label-light'
= f.text_area :key, class: "form-control", rows: 8, required: true
.form-group
= f.label :title, class: 'label-light'
= f.text_field :title, class: "form-control", required: true
.prepend-top-default
= f.submit 'Add key', class: "btn btn-create"