mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 10:55:25 +08:00
8444c865e9
Follow-up to #24278 that is slightly less trivial. * Some were "trivial" usages that were missed in the previous PR because the same file that had at least one other non-trivial usage. * These involve extra arguments or inheritance but I have checked that they seem correct.
38 lines
973 B
Handlebars
38 lines
973 B
Handlebars
<div class="permalink-form">
|
|
<div class="inline-form">
|
|
<label>{{i18n "admin.permalink.form.label"}}</label>
|
|
|
|
<TextField
|
|
@value={{this.url}}
|
|
@disabled={{this.formSubmitted}}
|
|
@class="permalink-url"
|
|
@placeholderKey="admin.permalink.url"
|
|
@autocorrect="off"
|
|
@autocapitalize="off"
|
|
/>
|
|
|
|
<ComboBox
|
|
@content={{this.permalinkTypes}}
|
|
@value={{this.permalinkType}}
|
|
@onChange={{action (mut this.permalinkType)}}
|
|
@class="permalink-type"
|
|
/>
|
|
|
|
<TextField
|
|
@value={{this.permalinkTypeValue}}
|
|
@disabled={{this.formSubmitted}}
|
|
@class="permalink-destination"
|
|
@placeholderKey={{this.permalinkTypePlaceholder}}
|
|
@autocorrect="off"
|
|
@autocapitalize="off"
|
|
@keyDown={{this.submitFormOnEnter}}
|
|
/>
|
|
|
|
<DButton
|
|
@action={{this.onSubmit}}
|
|
@disabled={{this.formSubmitted}}
|
|
@label="admin.permalink.form.add"
|
|
class="permalink-add"
|
|
/>
|
|
</div>
|
|
</div> |