Merge 22e0c1d8f8 into 05209260a4
This commit is contained in:
commit
92abf4b2ff
8 changed files with 283 additions and 5 deletions
|
|
@ -4,7 +4,10 @@
|
|||
%h1
|
||||
Events
|
||||
= "(#{@events.length})" if @events.any?
|
||||
.btn-group.pull-right
|
||||
|
||||
.pull-right
|
||||
- if can? :create, Event
|
||||
=link_to 'Add Event', new_admin_conference_program_event_path(@conference.short_title), :class => 'button btn btn-default btn-info'
|
||||
- if can? :read, Event
|
||||
.btn-group
|
||||
%button.btn.btn-default.dropdown-toggle{"data-toggle" => "dropdown", :type => "button", :class => 'btn btn-success'}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue