added city

This commit is contained in:
2015-10-05 14:12:05 +02:00
parent 703a050dcd
commit e1c206d14d
3 changed files with 3 additions and 0 deletions
+1
View File
@@ -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
+1
View File
@@ -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
+1
View File
@@ -8,6 +8,7 @@ feature 'Support announcement' do
fill_in 'Nachname', with: 'Blocher'
fill_in 'Strasse/Nr.', with: 'Wängirain 53'
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'