2021-11-16 04:25:54 -05:00
|
|
|
<div class="permalink-form">
|
|
|
|
<div class="inline-form">
|
|
|
|
<label>{{i18n "admin.permalink.form.label"}}</label>
|
2019-01-22 09:09:21 -05:00
|
|
|
|
2022-07-05 13:41:31 -04:00
|
|
|
<TextField @value={{this.url}} @disabled={{this.formSubmitted}} @class="permalink-url" @placeholderKey="admin.permalink.url" @autocorrect="off" @autocapitalize="off" />
|
2019-01-22 09:09:21 -05:00
|
|
|
|
2022-07-05 13:41:31 -04:00
|
|
|
<ComboBox @content={{this.permalinkTypes}} @value={{this.permalinkType}} @onChange={{action (mut this.permalinkType)}} @class="permalink-type" />
|
2019-01-22 09:09:21 -05:00
|
|
|
|
2022-07-05 13:41:31 -04:00
|
|
|
<TextField @value={{this.permalinkTypeValue}} @disabled={{this.formSubmitted}} @placeholderKey={{this.permalinkTypePlaceholder}} @autocorrect="off" @autocapitalize="off" @keyDown={{action "submitFormOnEnter"}} />
|
2019-01-22 09:09:21 -05:00
|
|
|
|
2022-07-05 13:41:31 -04:00
|
|
|
<DButton @action={{action "onSubmit"}} @disabled={{this.formSubmitted}} @label="admin.permalink.form.add" />
|
2021-11-16 04:25:54 -05:00
|
|
|
</div>
|
2021-09-09 11:01:56 -04:00
|
|
|
</div>
|