_form.html.haml revision d756a4e0f573b9895f5f99e210f049b9f4306b2d
= 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 :access, collection: access_options, include_blank: false, hint: access_change_hint
- if resource.new_record?
= f.input :source_address
= f.button :wrapped