mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-24 21:51:41 +08:00
17 lines
466 B
Text
Vendored
17 lines
466 B
Text
Vendored
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>
|
|
}
|