Sha256: fbfdc6f933eec265c847af9c587845a8053982bb2c31b68a9ef2bae77ade17ac
Contents?: true
Size: 451 Bytes
Versions: 1
Compression:
Stored size: 451 Bytes
Contents
<:Body> <select value="{{ attrs.value }}" class="{{ html_class }}" multiple="multiple"> {{ options.each do |option| }} {{ if selected_values.include?(option[:value]) }} <option value="{{ option[:value] }}" selected="selected"> {{ option[:label] }} </option> {{ else }} <option value="{{ option[:value] }}"> {{ option[:label] }} </option> {{ end }} {{ end }} </select>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
volt-select2-0.1.0 | app/select2/views/field/multiple.html |