Sha256: 2c01add9027725c2364d651a8ffdcd1d745bdc868b5787a2319db281e82ddd33

Contents?: true

Size: 373 Bytes

Versions: 2

Compression:

Stored size: 373 Bytes

Contents

.long_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_area 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/_long_text.html.haml
helena-0.3.3 app/views/helena/questions/_long_text.html.haml