fix flow to work

This commit is contained in:
2012-08-24 16:51:29 +02:00
parent 4765608e2d
commit 1259d5d937
11 changed files with 52 additions and 20 deletions
+3 -3
View File
@@ -4,10 +4,10 @@
= f.label :state, class: 'control-label'
.controls
= f.text_field :state, class: 'text_field'
.control-group class=(@list.errors[:need_help].any? ? 'error' : nil)
= f.label :need_help, class: 'control-label'
.control-group class=(@list.errors[:needs_help].any? ? 'error' : nil)
= f.label :needs_help, class: 'control-label'
.controls
= f.check_box :need_help, class: 'check_box'
= f.check_box :needs_help, class: 'check_box'
.control-group class=(@list.errors[:needs_payment].any? ? 'error' : nil)
= f.label :needs_payment, class: 'control-label'
.controls