Sha256: 458921fa1b6a2c8a8c916bdb121d7725e0792c8ed7fdb3c49a3953a8a922ee3e

Contents?: true

Size: 380 Bytes

Versions: 9

Compression:

Stored size: 380 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

9 entries across 9 versions & 1 rubygems

Version Path
helena-1.3.1 app/views/helena/questions/_short_text.html.haml
helena-1.3.0 app/views/helena/questions/_short_text.html.haml
helena-1.1.0 app/views/helena/questions/_short_text.html.haml
helena-1.0.3 app/views/helena/questions/_short_text.html.haml
helena-1.0.2 app/views/helena/questions/_short_text.html.haml
helena-1.0.1 app/views/helena/questions/_short_text.html.haml
helena-1.0.0.rc4 app/views/helena/questions/_short_text.html.haml
helena-1.0.0.rc3 app/views/helena/questions/_short_text.html.haml
helena-1.0.0.rc2 app/views/helena/questions/_short_text.html.haml