templates/app/views/hq/cities/_form.html.haml in cybele-1.9.1 vs templates/app/views/hq/cities/_form.html.haml in cybele-1.9.2
- old
+ new
@@ -1,10 +1,10 @@
.panel.panel-default
.panel-heading
%i.icon-edit.icon-large
= yield :form_title
.panel-body
- = simple_form_for([:hq, @city]) do |f|
+ = simple_form_for([:hq, @city], validate: true) do |f|
= f.error_notification
.form-inputs
= f.input :name
= f.input :country_id, collection: get_countries, include_blank: t('view.select'), input_html: { class: 'chosen-select' }