gitlabhq/app/views/keys/_form.html.haml
Dmitriy Zaporozhets d378468794 v1.0
2011-10-13 04:00:00 +03:00

17 lines
398 B
Plaintext

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