gitlab-org--gitlab-foss/app/views/keys/_form.html.haml
2011-11-07 20:37:32 +02:00

16 lines
404 B
Text

%div
= form_for @key, :remote => true do |f|
-if @key.errors.any?
%ul
- @key.errors.full_messages.each do |msg|
%li= msg
.form-row
= f.label :title
= f.text_field :title, :style => "width:300px"
.form-row
= f.label :key
= f.text_area :key, :style => "width:300px; height:130px"
.form-row
= f.submit 'Save', :class => "lbutton vm"