added city
This commit is contained in:
@@ -5,6 +5,7 @@ class Supporter
|
||||
field :last_name, type: String
|
||||
field :street, type: String
|
||||
field :zip, type: Integer
|
||||
field :city, type: String
|
||||
field :email, type: String
|
||||
field :support, type: String # Indicates the type of support
|
||||
field :age_category, type: String
|
||||
|
||||
@@ -4,6 +4,7 @@ h1 = title t('.title')
|
||||
= f.input :last_name
|
||||
= f.input :street
|
||||
= f.input :zip
|
||||
= f.input :city
|
||||
= 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
|
||||
|
||||
Reference in New Issue
Block a user