discourse/app/assets/javascripts/admin/addon/components/site-customization-change-field.gjs
Jarek Radosz ce6368ca98
DEV: Enable ember/no-classic-components (#33978)
…and apply lint-to-the-future
2025-07-30 14:54:24 +02:00

18 lines
515 B
Text
Vendored

/* eslint-disable ember/no-classic-components */
import Component, { Textarea } from "@ember/component";
import { i18n } from "discourse-i18n";
export default class SiteCustomizationChangeField extends Component {
<template>
{{#if this.field}}
<section class="field">
<b>{{i18n this.name}}</b>: ({{i18n
"character_count"
count=this.field.length
}})
<br />
<Textarea @value={{this.field}} class="plain" />
</section>
{{/if}}
</template>
}