properly created switch button
This commit is contained in:
parent
e1832732b4
commit
bd0cfb99bc
1 changed files with 2 additions and 2 deletions
|
|
@ -44,8 +44,8 @@
|
||||||
%td
|
%td
|
||||||
= link_to 'Questions','#', class: 'btn btn-success question-btn', 'data-id' => index, 'data-name' => registration.name
|
= link_to 'Questions','#', class: 'btn btn-success question-btn', 'data-id' => index, 'data-name' => registration.name
|
||||||
%td
|
%td
|
||||||
= check_box_tag class:'switch-checkbox',
|
= check_box_tag @conference.short_title, registration.id, true, class: 'switch-checkbox', method: :patch,
|
||||||
data: { size: "large",
|
data: { size: "large",
|
||||||
on_color: 'success',
|
on_color: 'success',
|
||||||
off_color: 'warning',
|
off_color: 'warning',
|
||||||
on_text: 'Present',
|
on_text: 'Present',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue