_form.html.haml revision 2d8fa234ee3a19af707818a46ad42a5a7887d3a9
= simple_form_for resource, html: {class: 'form-horizontal' } do |f|
= f.input :name, input_html: { class: 'input-xlarge' }, required: true
= f.input :description, input_html: { class: 'input-xlarge' }
= f.input :source_type, as: :radio_buttons, collection: [nil, *Repository::SOURCE_TYPES]
= f.input :source_address
.control-group
.controls= f.button :submit, class: 'btn btn-primary'