0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-10 12:22:54 +01:00
discourse-custom-wizard/assets/javascripts/discourse/templates/components/wizard-custom-action.hbs

18 Zeilen
646 B
Handlebars

2017-09-23 04:34:07 +02:00
{{combo-box value=action.data content=stepFields valueAttribute='id' nameProperty='label'}}
{{combo-box value=action.target content=targets}}
{{#if isTopic}}
{{category-select-box value=action.target.category_id tabindex="3"}}
{{/if}}
{{#if isEmail}}
<span>{{i18n 'admin.wizard.action.email'}}</span>
{{input type='text' value=action.target.email}}
{{/if}}
{{#if isProfile}}
<span>{{i18n 'admin.wizard.action.email'}}</span>
{{combo-box value=action.target.profile_field content=profileFields}}
{{/if}}
{{#if isBadge}}
<span>{{i18n 'admin.wizard.action.badge'}}</span>
{{combo-box value=action.target.badge content=badges}}
{{/if}}