1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-21 14:19:43 +02:00
documize/gui/app/templates/components/ui/ui-checkbox.hbs

9 lines
281 B
Handlebars
Raw Normal View History

2018-12-08 20:54:19 +00:00
<div class="ui-checkbox {{if selected "ui-checkbox-selected"}}" {{action "onCheck"}}>
2016-10-24 19:20:29 -07:00
{{#if selected}}
<i class="dicon {{constants.Icon.CheckboxChecked}} selected" />
2016-10-24 19:20:29 -07:00
{{else}}
<i class="dicon {{constants.Icon.Checkbox}}" />
2016-10-24 19:20:29 -07:00
{{/if}}
2017-08-21 17:51:06 +01:00
<div class="text">{{yield}}</div>
2016-10-24 19:20:29 -07:00
</div>