From 9d3ee5b963cbb23111e1e074835b3257afcd76be Mon Sep 17 00:00:00 2001 From: thomaschen <99703040@nccu.edu.tw> Date: Fri, 22 Nov 2013 16:06:08 +0800 Subject: [PATCH] fix checkbox naming --- .../panel/feed/back_end/feeds/_form.html.erb | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/vendor/built_in_modules/feed/app/views/panel/feed/back_end/feeds/_form.html.erb b/vendor/built_in_modules/feed/app/views/panel/feed/back_end/feeds/_form.html.erb index e1d1e78a1..8292946f3 100644 --- a/vendor/built_in_modules/feed/app/views/panel/feed/back_end/feeds/_form.html.erb +++ b/vendor/built_in_modules/feed/app/views/panel/feed/back_end/feeds/_form.html.erb @@ -18,59 +18,59 @@
<%= 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 -%>