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

8 lines
311 B
Handlebars
Raw Normal View History

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