Sha256: beaebc6a359f187f798e9d1cdaca81f7734afd097402c80df30afefb91a70637

Contents?: true

Size: 576 Bytes

Versions: 3

Compression:

Stored size: 576 Bytes

Contents

<:Body>
  <p class="form-group {{ if errors }}has-error{{ elsif blurred }}has-success{{ end }} has-feedback">
    {{ if label }}
      <label class="control-label">{{ label }}</label>
    {{ end }}
    <textarea e-focusout="blur" class="form-control">{{ attrs.value }}</textarea>
    {{ if errors }}
      <span class="glyphicon glyphicon-remove form-control-feedback"></span>
      <span class="control-label errors">{{ errors.or([]).join(', ') }}</span>
    {{ elsif blurred }}
      <span class="glyphicon glyphicon-ok form-control-feedback"></span>
    {{ end }}
  </div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
volt-fields-0.0.9 app/fields/views/textarea/index.html
volt-fields-0.0.8 app/fields/views/textarea/index.html
volt-fields-0.0.7 app/fields/views/textarea/index.html