1
0
Fork 0
discourse-custom-wizard-unl.../assets/javascripts/discourse/templates/components/wizard-links.hbs
Angus McLeod a09376e645 various
2017-10-30 14:24:51 +08:00

12 Zeilen
442 B
Handlebars

<div class="wizard-links {{type}}">
<div class="wizard-header medium">{{{i18n header}}}</div>
<ul>
{{#each links as |l|}}
<li data-id='{{l.id}}'>
{{d-button action="change" actionParam=l.id translatedLabel=l.label class=l.classes}}
{{d-button action='remove' actionParam=l.id icon='times' class='remove'}}
</li>
{{/each}}
</ul>
{{d-button action='add' label='admin.wizard.add' icon='plus'}}
</div>