fix sorting in events#index with button functionality and add color/text to switch buttons
This commit is contained in:
parent
b8b3703175
commit
fbdec2a58e
5 changed files with 26 additions and 19 deletions
|
|
@ -33,7 +33,10 @@
|
|||
%b Highlight
|
||||
%td
|
||||
= check_box_tag @conference.short_title, @event.id, @event.is_highlight, class: 'switch-checkbox',
|
||||
data: { size: "small" }
|
||||
data: { size: "small",
|
||||
off_color: 'warning',
|
||||
on_text: 'Yes',
|
||||
off_text: 'No' }
|
||||
|
||||
%tr
|
||||
%td
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue