Add check box array
This commit is contained in:
parent
3f9cdec426
commit
0a1ebf18e3
|
@ -1,3 +1,7 @@
|
||||||
|
<script>
|
||||||
|
$('table tr').hide();
|
||||||
|
</script>
|
||||||
|
|
||||||
<div id="ask_question_reply">
|
<div id="ask_question_reply">
|
||||||
<%= form_for @ask_reply, url: @url, method: @method do |f| %>
|
<%= form_for @ask_reply, url: @url, method: @method do |f| %>
|
||||||
<table class="table">
|
<table class="table">
|
||||||
|
@ -34,18 +38,18 @@
|
||||||
<td id="XXX"></td>
|
<td id="XXX"></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="5">
|
<td colspan="5" class="dept_options">
|
||||||
<%= check_box_tag(:dep1) %><%= label_tag(:dep1, "總務長室暨總務處秘書室") %>
|
<%= check_box("schoool", "depts", {:multiple => true}, "總務長室暨總務處秘書室", nil) %><%= label_tag(:dep1, "總務長室暨總務處秘書室") %>
|
||||||
<%= check_box_tag(:dep2) %><%= label_tag(:dep2, "文書組") %>
|
<%= check_box("schoool", "depts", {:multiple => true}, "文書組", nil) %><%= label_tag(:dep2, "文書組") %>
|
||||||
<%= check_box_tag(:dep3) %><%= label_tag(:dep3, "事務組") %>
|
<%= check_box("schoool", "depts", {:multiple => true}, "事務組", nil) %><%= label_tag(:dep3, "事務組") %>
|
||||||
<%= check_box_tag(:dep4) %><%= label_tag(:dep4, "保管組") %>
|
<%= check_box("schoool", "depts", {:multiple => true}, "保管組", nil) %><%= label_tag(:dep4, "保管組") %>
|
||||||
<%= check_box_tag(:dep5) %><%= label_tag(:dep5, "營繕組") %>
|
<%= check_box("schoool", "depts", {:multiple => true}, "營繕組", nil) %><%= label_tag(:dep5, "營繕組") %>
|
||||||
<%= check_box_tag(:dep6) %><%= label_tag(:dep6, "出納組") %>
|
<%= check_box("schoool", "depts", {:multiple => true}, "出納組", nil) %><%= label_tag(:dep6, "出納組") %>
|
||||||
<%= check_box_tag(:dep7) %><%= label_tag(:dep7, "採購組") %>
|
<%= check_box("schoool", "depts", {:multiple => true}, "採購組", nil) %><%= label_tag(:dep7, "採購組") %>
|
||||||
<%= check_box_tag(:dep8) %><%= label_tag(:dep8, "經營管理組") %>
|
<%= check_box("schoool", "depts", {:multiple => true}, "經營管理組", nil) %><%= label_tag(:dep8, "經營管理組") %>
|
||||||
<%= check_box_tag(:dep9) %><%= label_tag(:dep9, "駐警隊") %>
|
<%= check_box("schoool", "depts", {:multiple => true}, "駐警隊", nil) %><%= label_tag(:dep9, "駐警隊") %>
|
||||||
<%= check_box_tag(:dep10) %><%= label_tag(:dep10, "社科院總務分處") %>
|
<%= check_box("schoool", "depts", {:multiple => true}, "社科院總務分處", nil) %><%= label_tag(:dep10, "社科院總務分處") %>
|
||||||
<%= check_box_tag(:dep11) %><%= label_tag(:dep11, "醫學院總務分處") %>
|
<%= check_box("schoool", "depts", {:multiple => true}, "醫學院總務分處", nil) %><%= label_tag(:dep11, "醫學院總務分處") %>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
|
Loading…
Reference in New Issue