Sha256: eae67044ec85d68cf5c140d30f39269070d0b1aa67fabc2cb01fa42c548af8f8

Contents?: true

Size: 640 Bytes

Versions: 3

Compression:

Stored size: 640 Bytes

Contents

<:Body>
  <div class="form-group {{ if errors }}has-error{{ elsif marked }}has-success{{ end }} has-feedback">
    {{ if label.present? }}
      <label class="control-label">{{ label }}</label>
    {{ end }}
    <input type="{{ @type }}" value="{{ attrs.value }}" e-focusout="blur" class="form-control" placeholder="{{ attrs.placeholder }}" />
    {{ if errors }}
      <span class="glyphicon glyphicon-remove form-control-feedback"></span>
      <span class="control-label errors">{{ (errors || []).join(', ') }}</span>
    {{ elsif marked }}
      <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.2.0 app/fields/views/text/index.html
volt-fields-0.1.3 app/fields/views/text/index.html
volt-fields-0.1.2 app/fields/views/text/index.html