Update category and tag

This commit is contained in:
manson 2014-05-13 15:06:23 +08:00
parent 4f25ba67cb
commit 5b4beed2d4
2 changed files with 5 additions and 5 deletions

View File

@ -42,14 +42,14 @@
<!-- Date Time Picker -->
<div class="control-group">
<label class="control-label muted"><%= t(:start) %></label>
<label class="control-label muted"><%= t(:start_date) %></label>
<div class="controls">
<%= f.datetime_picker :postdate, :no_label => true %>
</div>
</div>
<div class="control-group">
<label class="control-label muted"><%= t(:end) %></label>
<label class="control-label muted"><%= t(:end_date) %></label>
<div class="controls">
<%= f.datetime_picker :deadline, :no_label => true %>
</div>
@ -83,7 +83,7 @@
<div class="tab-pane fade" id="tag">
<div class="control-group">
<label class="control-label muted"><%= t(:tags) %></label>
<%= select_tag(f, @module_app, @bulletin) %>
<%= select_tag(f, @module_app) %>
</div>
</div>

View File

@ -20,12 +20,12 @@ module Announcement
:priority=>1,
:active_for_action=>{'admin/announcements'=>'index'},
:available_for => [:all]
context_link 'announcement.add_new',
context_link 'new_',
:link_path=>"new_admin_announcement_path" ,
:priority=>2,
:active_for_action=>{'admin/announcements'=>'new'},
:available_for => [:sub_manager]
context_link 'announcement.categories',
context_link 'categories',
:link_path=>"admin_module_app_categories_path" ,
:link_arg=>{:module_app_id=>get_module_app.id},
:priority=>3,