diff --git a/app/views/origami/surveys/_form.html.erb b/app/views/origami/surveys/_form.html.erb index 1b6d07e2..e480430f 100755 --- a/app/views/origami/surveys/_form.html.erb +++ b/app/views/origami/surveys/_form.html.erb @@ -9,7 +9,7 @@
- <%= f.input :child, input_html: { value: @survey_data.child, class: 'col-md-10', :onChange => "total_customer();" }%> +
@@ -67,29 +67,29 @@
- <%= f.input :child , input_html: { class: 'col-md-10' , :onChange => "total_customer();"}%> + <%= f.input :child , input_html: { class: 'col-md-10' ,min:'1', :onChange => "total_customer();"}%>
- <%= f.input :adult , input_html: { class: 'col-md-10' , :onChange => "total_customer();"}%> + <%= f.input :adult , input_html: { class: 'col-md-10' ,min:'1', :onChange => "total_customer();"}%>
- <%= f.input :male , input_html: { class: 'col-md-10' }%> + <%= f.input :male , input_html: { min:'1',class: 'col-md-10' }%>
- <%= f.input :female , input_html: { class: 'col-md-10' }%> + <%= f.input :female , input_html: { min:'1',class: 'col-md-10' }%>
- <%= f.input :total_customer, input_html: { :readonly => true, class: 'col-md-11'} %> - <%= f.input :local , input_html: { class: 'col-md-11' }%> + <%= f.input :total_customer, input_html: { :readonly => true,min:'1', class: 'col-md-11'} %> + <%= f.input :local , input_html: { min:'1',class: 'col-md-11' }%>
Foreigner