Sha256: b73dc8279b512b5554b275c38e27d944c8ddd6ca9d69356ec96e88c36cea0350
Contents?: true
Size: 584 Bytes
Versions: 13
Compression:
Stored size: 584 Bytes
Contents
{% comment %} @param class [String] Extra classes @param extra [String] Extra attributes @param options [Array<Hash>] Options @param selected [Boolean] Default option @param extra [String] Extra attributes @param value [String] Value @param title [String] Title {% endcomment %} <select class="custom-select {{ include.class }}" {{ include.extra }}> {% for options in include.options %} <option {{ options.selected }} {{ options.extra }} value="{{ options.value | default: options.title | escape }}"> {{- options.title -}} </option> {% endfor %} </select>
Version data entries
13 entries across 13 versions & 3 rubygems