mirror of
https://github.com/discourse/discourse.git
synced 2024-12-14 03:23:44 +08:00
18 lines
455 B
Handlebars
18 lines
455 B
Handlebars
<button
|
|
aria-label={{i18n "select_kit.delete_item" name=this.itemName}}
|
|
id="{{this.id}}-choice"
|
|
data-value={{this.itemValue}}
|
|
data-name={{this.itemName}}
|
|
type="button"
|
|
{{on "click" (fn this.selectKit.deselect this.item)}}
|
|
class="btn btn-default selected-choice {{this.extraClass}}"
|
|
>
|
|
{{d-icon "times"}}
|
|
{{#if (has-block)}}
|
|
{{yield}}
|
|
{{else}}
|
|
<span class="d-button-label">
|
|
{{this.itemName}}
|
|
</span>
|
|
{{/if}}
|
|
</button> |