discourse/app/assets/javascripts/admin/templates/components/watched-word-uploader.hbs

8 lines
290 B
Handlebars
Raw Normal View History

<label class="btn {{if addDisabled 'disabled'}}">
{{d-icon "upload"}}
{{i18n 'admin.watched_words.form.upload'}}
<input class="hidden-upload-field" disabled={{addDisabled}} type="file" accept="text/plain,text/csv" />
</label>
<br/>
<span class="instructions">One word per line</span>