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 %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',