add checkboxes for 11 dep in edit view

This commit is contained in:
thomaschen 2013-09-11 12:36:32 +08:00 committed by chris
parent 1237a111ca
commit 24b9f4015b
1 changed files with 15 additions and 0 deletions

View File

@ -33,6 +33,21 @@
] %></td>
<td id="XXX"></td>
</tr>
<tr>
<td colspan="5">
<%= 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, "醫學院總務分處") %>
</td>
</tr>
<tr>
<td colspan="5">
<%= f.label :send_email %><%= f.radio_button :send_email, 1, checked: @ask_reply.send_email? %><%= t('ask.yes') %>