first raw implementation of the form

This commit is contained in:
2015-10-05 12:40:08 +02:00
parent af827b7e77
commit 1d8eb08db4
20 changed files with 478 additions and 8 deletions
+10
View File
@@ -0,0 +1,10 @@
h1 = title t('.title')
= simple_form_for @supporter do |f|
= f.input :first_name
= f.input :last_name
= f.input :street
= f.input :zip
= f.input :email
= f.input :support, as: :radio_buttons, collection: t('support_type'), label_method: :last, value_method: :first
= f.input :age_category, as: :radio_buttons, collection: t('age_category'), label_method: :last, value_method: :first
= f.submit value: t('.submit'), class: 'btn btn-success'