properly created switch button

This commit is contained in:
raluka 2015-07-02 14:23:31 +02:00
parent e1832732b4
commit bd0cfb99bc

View file

@ -44,8 +44,8 @@
%td
= link_to 'Questions','#', class: 'btn btn-success question-btn', 'data-id' => index, 'data-name' => registration.name
%td
= check_box_tag class:'switch-checkbox',
data: { size: "large",
= check_box_tag @conference.short_title, registration.id, true, class: 'switch-checkbox', method: :patch,
data: { size: "large",
on_color: 'success',
off_color: 'warning',
on_text: 'Present',