2019-06-07 11:22:13 +02:00
|
|
|
<div class="cr-form-wrapper box">
|
2020-01-08 15:58:10 +01:00
|
|
|
<BsForm
|
|
|
|
@formLayout="horizontal"
|
2023-10-15 15:27:02 +02:00
|
|
|
@model={{@model.formData}}
|
2023-10-15 21:50:28 +02:00
|
|
|
@onInvalid={{(scroll-first-invalid-element-into-view-port)}}
|
2023-10-15 15:27:02 +02:00
|
|
|
@onSubmit={{this.submit}}
|
2020-01-08 15:58:10 +01:00
|
|
|
novalidate
|
|
|
|
as |form|
|
|
|
|
>
|
|
|
|
<form.element
|
|
|
|
@controlType="text"
|
|
|
|
@label={{t "create.meta.input.title.label"}}
|
|
|
|
@property="title"
|
|
|
|
class="title"
|
2023-10-15 15:27:02 +02:00
|
|
|
data-test-form-element="title"
|
2020-10-27 22:34:08 +01:00
|
|
|
as |el|
|
|
|
|
>
|
2020-10-31 08:17:32 +01:00
|
|
|
<el.control
|
|
|
|
placeholder={{t "create.meta.input.title.placeholder"}}
|
|
|
|
{{autofocus}}
|
|
|
|
/>
|
2020-10-27 22:34:08 +01:00
|
|
|
</form.element>
|
2020-01-08 15:58:10 +01:00
|
|
|
<form.element
|
|
|
|
@controlType="textarea"
|
|
|
|
@label={{t "create.meta.input.description.label"}}
|
|
|
|
@property="description"
|
|
|
|
class="description"
|
2023-10-15 15:27:02 +02:00
|
|
|
data-test-form-element="description"
|
2020-10-31 08:17:32 +01:00
|
|
|
as |el|
|
|
|
|
>
|
|
|
|
<el.control
|
|
|
|
placeholder={{t "create.meta.input.description.placeholder"}}
|
|
|
|
/>
|
|
|
|
</form.element>
|
2019-06-12 09:07:48 +02:00
|
|
|
|
|
|
|
<div class="row cr-steps-bottom-nav">
|
2019-11-12 21:56:47 +01:00
|
|
|
<div class="col-6 col-md-8 order-12">
|
2019-06-12 09:07:48 +02:00
|
|
|
<NextButton />
|
|
|
|
</div>
|
2019-11-12 21:56:47 +01:00
|
|
|
<div class="col-6 col-md-4 order-1 text-right">
|
2023-11-04 15:40:02 +01:00
|
|
|
<BackButton @onClick={{this.previousPage}} />
|
2019-11-12 21:56:47 +01:00
|
|
|
</div>
|
2019-06-12 09:07:48 +02:00
|
|
|
</div>
|
2020-01-08 15:58:10 +01:00
|
|
|
</BsForm>
|
2023-10-15 15:27:02 +02:00
|
|
|
</div>
|