Sha256: 228c3f74ea791f0a44fc0a113e63447ee430fad1313e0de034ee0e1587f510fd

Contents?: true

Size: 592 Bytes

Versions: 4

Compression:

Stored size: 592 Bytes

Contents

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
volt-fields-0.0.13 app/fields/views/text/index.html
volt-fields-0.0.12 app/fields/views/text/index.html
volt-fields-0.0.11 app/fields/views/text/index.html
volt-fields-0.0.10 app/fields/views/text/index.html