91334a46b5
Co-authored-by: Cursor <cursoragent@cursor.com>
23 lines
855 B
Plaintext
23 lines
855 B
Plaintext
<div class="{{classes}} d-inline-block">
|
|
{{#label}}
|
|
<label for="{{id}}"{{#labelattributes}} {{name}}="{{value}}"{{/labelattributes}}>
|
|
{{{label}}}
|
|
</label>
|
|
{{/label}}
|
|
<select {{#attributes}}{{name}}="{{value}}" {{/attributes}} id="{{id}}" class="form-select {{classes}}" name="{{name}}"
|
|
{{#title}}title="{{.}}"{{/title}} {{#disabled}}disabled{{/disabled}}>
|
|
{{#options}}
|
|
{{#optgroup}}
|
|
<optgroup label="{{name}}">
|
|
{{#options}}
|
|
<option value="{{value}}" {{#selected}}selected{{/selected}}>{{{name}}}</option>
|
|
{{/options}}
|
|
</optgroup>
|
|
{{/optgroup}}
|
|
{{^optgroup}}
|
|
<option value="{{value}}" {{#selected}}selected{{/selected}}>{{{name}}}</option>
|
|
{{/optgroup}}
|
|
{{/options}}
|
|
</select>
|
|
</div>
|