Sha256: a841bf43848c4568eb2d3e11827b318a954faff18aa76fb359cb1f9a7b61dba9

Contents?: true

Size: 545 Bytes

Versions: 1

Compression:

Stored size: 545 Bytes

Contents

<:Body>
  <div class="form-group {#if errors}has-error{#elsif blurred}has-success{/} has-feedback">
    {#if label}
      <label class="control-label">{label}</label>
    {/}
    <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>
    {/}
  </div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
volt-fields-0.0.6 app/fields/views/text/index.html