change survey update function

This commit is contained in:
phyusin
2018-02-16 16:58:55 +06:30
parent d459a6e2a3
commit 80729e686f
4 changed files with 37 additions and 12 deletions

View File

@@ -41,6 +41,7 @@
</div>
<input type="hidden" name="survey_id" value="<%=@survey.id%>">
<input type="hidden" name="table_id" value="<%=@dining_facility.id%>">
<%= f.input :dining_name, :as => :hidden, :input_html => { :value => @dining_facility.name } %>
<%= f.input :created_by, :as => :hidden, :input_html => { :value => current_login_employee.name } %>