Sha256: 752ea7689f762324a063a5c2ff01be4cd5317f45bb5c0d62dbd48470098e719c
Contents?: true
Size: 840 Bytes
Versions: 1
Compression:
Stored size: 840 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 }} <select value="{{ attrs.value }}" e-change="blur" class="form-control"> {{ if attrs.value.nil? }} <option value="" selected> </option> {{ end }} {{ options.each do |option| }} <option value="{{ option[:value] }}"> {{ option[:label] }} </option> {{ end }} </select> {{ 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
volt-fields-0.2.0 | app/fields/views/select/index.html |