fix checkbox naming

This commit is contained in:
thomaschen 2013-11-22 16:06:08 +08:00
parent a93cb71d86
commit 9d3ee5b963
1 changed files with 14 additions and 14 deletions

View File

@ -18,59 +18,59 @@
<label class="control-label" for="inputURL"><%= t('feed.choose') %>:</label>
<div class="controls">
<%= content_tag :label,:class => "checkbox inline" do -%>
<%= check_box("announcement_feed", "categories", {:multiple => true}, "c1", nil) %>
<%= check_box("announcement_feed", "categories", {:multiple => true}, "全部", nil) %>
<%= label_tag "全部" %>
<% end -%>
<%= content_tag :label,:class => "checkbox inline" do -%>
<%= check_box("announcement_feed", "categories", {:multiple => true}, "c2", nil) %>
<%= check_box("announcement_feed", "categories", {:multiple => true}, "緊急", nil) %>
<%= label_tag "緊急" %>
<% end -%>
<%= content_tag :label,:class => "checkbox inline" do -%>
<%= check_box("announcement_feed", "categories", {:multiple => true}, "c3", nil) %>
<%= check_box("announcement_feed", "categories", {:multiple => true}, "一般", nil) %>
<%= label_tag "一般" %>
<% end -%>
<%= content_tag :label,:class => "checkbox inline" do -%>
<%= check_box("announcement_feed", "categories", {:multiple => true}, "c4", nil) %>
<%= check_box("announcement_feed", "categories", {:multiple => true}, "研討會", nil) %>
<%= label_tag "研討會" %>
<% end -%>
<%= content_tag :label,:class => "checkbox inline" do -%>
<%= check_box("announcement_feed", "categories", {:multiple => true}, "c5", nil) %>
<%= check_box("announcement_feed", "categories", {:multiple => true}, "演講", nil) %>
<%= label_tag "演講" %>
<% end -%>
<%= content_tag :label,:class => "checkbox inline" do -%>
<%= check_box("announcement_feed", "categories", {:multiple => true}, "c6", nil) %>
<%= check_box("announcement_feed", "categories", {:multiple => true}, "活動", nil) %>
<%= label_tag "活動" %>
<% end -%>
<%= content_tag :label,:class => "checkbox inline" do -%>
<%= check_box("announcement_feed", "categories", {:multiple => true}, "c7", nil) %>
<%= check_box("announcement_feed", "categories", {:multiple => true}, "徵才", nil) %>
<%= label_tag "徵才" %>
<% end -%>
<%= content_tag :label,:class => "checkbox inline" do -%>
<%= check_box("announcement_feed", "categories", {:multiple => true}, "c8", nil) %>
<%= check_box("announcement_feed", "categories", {:multiple => true}, "招標", nil) %>
<%= label_tag "招標" %>
<% end -%>
<%= content_tag :label,:class => "checkbox inline" do -%>
<%= check_box("announcement_feed", "categories", {:multiple => true}, "c9", nil) %>
<%= check_box("announcement_feed", "categories", {:multiple => true}, "拖吊", nil) %>
<%= label_tag "拖吊" %>
<% end -%>
<%= content_tag :label,:class => "checkbox inline" do -%>
<%= check_box("announcement_feed", "categories", {:multiple => true}, "c10", nil) %>
<%= check_box("announcement_feed", "categories", {:multiple => true}, "校外", nil) %>
<%= label_tag "校外" %>
<% end -%>
<%= content_tag :label,:class => "checkbox inline" do -%>
<%= check_box("announcement_feed", "categories", {:multiple => true}, "c11", nil) %>
<%= check_box("announcement_feed", "categories", {:multiple => true}, "過期", nil) %>
<%= label_tag "過期" %>
<% end -%>
<%= content_tag :label,:class => "checkbox inline" do -%>
<%= check_box("announcement_feed", "categories", {:multiple => true}, "c12", nil) %>
<%= check_box("announcement_feed", "categories", {:multiple => true}, "H1N1", nil) %>
<%= label_tag "H1N1" %>
<% end -%>
<%= content_tag :label,:class => "checkbox inline" do -%>
<%= check_box("announcement_feed", "categories", {:multiple => true}, "c13", nil) %>
<%= check_box("announcement_feed", "categories", {:multiple => true}, "失物招領", nil) %>
<%= label_tag "失物招領" %>
<% end -%>
<%= content_tag :label,:class => "checkbox inline" do -%>
<%= check_box("announcement_feed", "categories", {:multiple => true}, "c14", nil) %>
<%= check_box("announcement_feed", "categories", {:multiple => true}, "近期", nil) %>
<%= label_tag "近期" %>
<% end -%>
</div>