_form.html.haml revision 25f979bdee494bf6a6aeb54d753352832212dd24
= 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: [["don't import repository", nil], *(Repository::SOURCE_TYPES.map {|t| ["import from #{t}",t]})]
= f.input :source_address
= f.button :wrapped