From 24b9f4015bfebe8e17f8d6bf49fa885ee9691289 Mon Sep 17 00:00:00 2001
From: thomaschen <99703040@nccu.edu.tw>
Date: Wed, 11 Sep 2013 12:36:32 +0800
Subject: [PATCH] add checkboxes for 11 dep in edit view
---
.../ask/back_end/ask_questions/edit.html.erb | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/vendor/built_in_modules/ask_new/app/views/panel/ask/back_end/ask_questions/edit.html.erb b/vendor/built_in_modules/ask_new/app/views/panel/ask/back_end/ask_questions/edit.html.erb
index 4d30b6b94..9fff7f2c3 100644
--- a/vendor/built_in_modules/ask_new/app/views/panel/ask/back_end/ask_questions/edit.html.erb
+++ b/vendor/built_in_modules/ask_new/app/views/panel/ask/back_end/ask_questions/edit.html.erb
@@ -33,6 +33,21 @@
] %>
|
+
+
+ <%= check_box_tag(:dep1) %><%= label_tag(:dep1, "總務長室暨總務處秘書室") %>
+ <%= check_box_tag(:dep2) %><%= label_tag(:dep2, "文書組") %>
+ <%= check_box_tag(:dep3) %><%= label_tag(:dep3, "事務組") %>
+ <%= check_box_tag(:dep4) %><%= label_tag(:dep4, "保管組") %>
+ <%= check_box_tag(:dep5) %><%= label_tag(:dep5, "營繕組") %>
+ <%= check_box_tag(:dep6) %><%= label_tag(:dep6, "出納組") %>
+ <%= check_box_tag(:dep7) %><%= label_tag(:dep7, "採購組") %>
+ <%= check_box_tag(:dep8) %><%= label_tag(:dep8, "經營管理組") %>
+ <%= check_box_tag(:dep9) %><%= label_tag(:dep9, "駐警隊") %>
+ <%= check_box_tag(:dep10) %><%= label_tag(:dep10, "社科院總務分處") %>
+ <%= check_box_tag(:dep11) %><%= label_tag(:dep11, "醫學院總務分處") %>
+ |
+
<%= f.label :send_email %><%= f.radio_button :send_email, 1, checked: @ask_reply.send_email? %><%= t('ask.yes') %>
|