Schedule update moved to program update
Schedule update updated a program attribute
This commit is contained in:
parent
310c521790
commit
81108290e5
4 changed files with 41 additions and 22 deletions
|
|
@ -9,8 +9,8 @@
|
|||
.col-md-2
|
||||
Selected schedule
|
||||
= check_box_tag @conference.short_title, @schedule.id, (@schedule.id == @selected_schedule.try(:id)),
|
||||
method: :put, url: (admin_conference_schedule_path(@conference.short_title, @schedule) + '?selected_schedule='),
|
||||
class: 'switch-checkbox', data: { size: 'small',
|
||||
method: :patch, url: (admin_conference_program_path(@conference.short_title) + '?[program][selected_schedule_id]='),
|
||||
class: 'switch-checkbox-schedule', data: { size: 'small',
|
||||
off_color: 'warning',
|
||||
on_text: 'Yes',
|
||||
off_text: 'No' }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue