discourse/app/assets/javascripts/admin/addon/templates/components/screened-ip-address-form.hbs

7 lines
481 B
Handlebars

<label>{{i18n "admin.logs.screened_ips.form.label"}}</label>
<TextField @value={{ip_address}} @disabled={{formSubmitted}} @class="ip-address-input" @placeholderKey="admin.logs.screened_ips.form.ip_address" @autocorrect="off" @autocapitalize="off" />
<ComboBox @content={{actionNames}} @value={{actionName}} @onChange={{action (mut actionName)}} />
<DButton @class="btn-default" @action={{action "submit"}} @disabled={{formSubmitted}} @label="admin.logs.screened_ips.form.add" />