mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-06 05:24:51 +08:00
1. Use `this.` instead of `{{action}}` where applicable
2. Use `{{fn}}` instead of `@actionParam` where applicable
3. Use non-`@` versions of class/type/tabindex/aria-controls/aria-expanded
4. Remove `btn` class (it's added automatically to all DButtons)
5. Remove `type="button"` (it's the default)
6. Use `concat-class` helper
16 lines
No EOL
331 B
Handlebars
16 lines
No EOL
331 B
Handlebars
<EmailStylesEditor
|
|
@styles={{this.model}}
|
|
@fieldName={{this.fieldName}}
|
|
@save={{action "save"}}
|
|
/>
|
|
|
|
<div class="admin-footer">
|
|
<div class="buttons">
|
|
<DButton
|
|
@action={{this.save}}
|
|
@disabled={{this.saveDisabled}}
|
|
@translatedLabel={{this.saveButtonText}}
|
|
class="btn-primary"
|
|
/>
|
|
</div>
|
|
</div> |