Open Kledin85 opened 1 year ago
As a visitor When I visit the new application page And I fail to fill in any of the form fields And I click submit Then I am taken back to the new applications page And I see a message that I must fill in those fields.
add :required => true to fields. Also validate :name, etc from model
:required => true
validate :name
As a visitor When I visit the new application page And I fail to fill in any of the form fields And I click submit Then I am taken back to the new applications page And I see a message that I must fill in those fields.