views/multi.haml in spirit-0.2 vs views/multi.haml in spirit-0.5
- old
+ new
@@ -1,16 +1,12 @@
-# coding: UTF-8
-%form.problem{action: 'verify/problem/' + id, 'accept-charset' => 'UTF-8', id: "problem_#{id}", method: 'post'}
- %fieldset
-
- %legend Problem #{index}
- %p= question
-
- .row.collapse
- .large-10.small-3.columns
- -options.each do |value, label|
- %label{for: 'answer'}
- %input{name: 'answer', type: 'radio', value: value}
- = label
- .large-2.small-1.columns
- %a.button.submit.small.expand.postfix.radius{href: '#'} Submit
+!= question
+.row.collapse
+ .large-10.columns
+ -options.each do |value, label|
+ %label{for: 'answer'}
+ %input.hide{name: 'answer', type: 'radio', value: value}
+ %span.custom.radio
+ != label
+ .large-2.columns
+ %input.small.button.expand.radius{type: 'submit', value: 'Submit'}