Sha256: 9c3af74914d02e0a844024fd5cecb5a6f9ea6a73341c189ace892c9a000551a4

Contents?: true

Size: 594 Bytes

Versions: 3

Compression:

Stored size: 594 Bytes

Contents

<:Body>
  <div class="form-group {{ if errors }}has-error{{ elsif blurred }}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 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/text/index.html
volt-fields-0.0.8 app/fields/views/text/index.html
volt-fields-0.0.7 app/fields/views/text/index.html