Sha256: f1adf861bbf671706236e9aaaf45a8057ef436c8034f52b813f79c5b982a9025

Contents?: true

Size: 529 Bytes

Versions: 2

Compression:

Stored size: 529 Bytes

Contents

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
volt-fields-0.0.5 app/fields/views/textarea/index.html
volt-fields-0.0.4 app/fields/views/textarea/index.html