discourse/app/assets/javascripts/admin/templates/components/watched-word-uploader.hbs
2020-02-06 17:26:06 +01:00

7 lines
316 B
Handlebars

<label class="btn btn-default {{if addDisabled 'disabled'}}">
{{d-icon "upload"}}
{{i18n 'admin.watched_words.form.upload'}}
<input class="hidden-upload-field" disabled={{addDisabled}} type="file" accept="text/plain">
</label>
<span class="instructions">{{i18n 'admin.watched_words.one_word_per_line'}}</span>