From 36eab44f8b29636622e3ee15134d8db7d31fb099 Mon Sep 17 00:00:00 2001 From: San Wai Lwin Date: Thu, 12 Apr 2018 09:59:34 +0630 Subject: [PATCH] edit Total Customer in survey --- app/views/origami/surveys/_form.html.erb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/origami/surveys/_form.html.erb b/app/views/origami/surveys/_form.html.erb index 52e8a517..1b6d07e2 100755 --- a/app/views/origami/surveys/_form.html.erb +++ b/app/views/origami/surveys/_form.html.erb @@ -67,12 +67,12 @@
- <%= f.input :child , input_html: { class: 'col-md-10' }%> + <%= f.input :child , input_html: { class: 'col-md-10' , :onChange => "total_customer();"}%>
- <%= f.input :adult , input_html: { class: 'col-md-10' }%> + <%= f.input :adult , input_html: { class: 'col-md-10' , :onChange => "total_customer();"}%>
@@ -88,7 +88,7 @@ - <%= f.input :total_customer, input_html: { class: 'col-md-11'} %> + <%= f.input :total_customer, input_html: { :readonly => true, class: 'col-md-11'} %> <%= f.input :local , input_html: { class: 'col-md-11' }%>