added city
This commit is contained in:
@@ -5,6 +5,7 @@ class Supporter
|
|||||||
field :last_name, type: String
|
field :last_name, type: String
|
||||||
field :street, type: String
|
field :street, type: String
|
||||||
field :zip, type: Integer
|
field :zip, type: Integer
|
||||||
|
field :city, type: String
|
||||||
field :email, type: String
|
field :email, type: String
|
||||||
field :support, type: String # Indicates the type of support
|
field :support, type: String # Indicates the type of support
|
||||||
field :age_category, type: String
|
field :age_category, type: String
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ h1 = title t('.title')
|
|||||||
= f.input :last_name
|
= f.input :last_name
|
||||||
= f.input :street
|
= f.input :street
|
||||||
= f.input :zip
|
= f.input :zip
|
||||||
|
= f.input :city
|
||||||
= f.input :email
|
= f.input :email
|
||||||
= f.input :support, as: :radio_buttons, collection: t('support_type'), label_method: :last, value_method: :first
|
= 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.input :age_category, as: :radio_buttons, collection: t('age_category'), label_method: :last, value_method: :first
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ feature 'Support announcement' do
|
|||||||
fill_in 'Nachname', with: 'Blocher'
|
fill_in 'Nachname', with: 'Blocher'
|
||||||
fill_in 'Strasse/Nr.', with: 'Wängirain 53'
|
fill_in 'Strasse/Nr.', with: 'Wängirain 53'
|
||||||
fill_in 'Postleitzahl', with: '8704'
|
fill_in 'Postleitzahl', with: '8704'
|
||||||
|
fill_in 'Ort', with: 'Hinterm Mond'
|
||||||
fill_in 'E-Mail', with: 'blocher@blocher.ch'
|
fill_in 'E-Mail', with: 'blocher@blocher.ch'
|
||||||
fill_in 'E-Mail', with: 'blocher@blocher.ch'
|
fill_in 'E-Mail', with: 'blocher@blocher.ch'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user