Sha256: 51c3ac017c88dbb64b116e12f02292455497ecd50328dbbe0ed13e643568435f
Contents?: true
Size: 379 Bytes
Versions: 2
Compression:
Stored size: 379 Bytes
Contents
.short_text.form-group{ class: "#{'has-error' if errors[question.code]}" } %label = question.question_text = ' *' if question.required = form.simple_fields_for :answers do |answer_form| = answer_form.text_field question.code, value: answers[question.code], class: 'form-control' - if errors[question.code] .help-block.text-danger= errors[question.code]
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
helena-1.0.0.rc1 | app/views/helena/questions/_short_text.html.haml |
helena-0.3.3 | app/views/helena/questions/_short_text.html.haml |