mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 17:35:16 +08:00
cb59681d86
Major changes included: - better support for screen readers - trapping focus in modals - better tabbing order in composer - alerts on no content found/number of items found - better autofocus in modals - mini-tag-chooser is now a multi-select component - each multi-select-component will now display selection on one row
11 lines
402 B
Handlebars
11 lines
402 B
Handlebars
<button aria-label={{i18n "select_kit.delete_item" name=itemName}} id="{{id}}-choice" data-value={{itemValue}} data-name={{itemName}} type="button" {{action selectKit.deselect item}} class="btn btn-default selected-choice {{extraClass}}">
|
|
{{d-icon "times"}}
|
|
{{#if (has-block)}}
|
|
{{yield}}
|
|
{{else}}
|
|
<span class="d-button-label">
|
|
{{html-safe itemName}}
|
|
</span>
|
|
{{/if}}
|
|
</button>
|