Update category and tag
This commit is contained in:
parent
4f25ba67cb
commit
5b4beed2d4
|
@ -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>
|
||||
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue