97605ec7d7
* get deprecation workflow up to date * fix routing.transition-methods deprecation * fix this-property-fallback deprecation * fix implicit-injections deprecation * argument-less-helper-paren-less-invocation * remove unmaintained ember-transition-helper which triggers deprecated-run-loop-and-computed-dot-access deprecation * reset to only log but not throw on errors to not block other development * reset double quote to single quote changes in templates and fix Prettier config * fix JS linting * ugprade ember-template-lint to fix parser
34 lines
No EOL
919 B
Handlebars
34 lines
No EOL
919 B
Handlebars
<div class="cr-form-wrapper box">
|
|
<BsForm
|
|
@formLayout="horizontal"
|
|
@model={{this.formData}}
|
|
@onInvalid={{(scroll-first-invalid-element-into-view-port)}}
|
|
@onSubmit={{this.handleSubmit}}
|
|
novalidate
|
|
as |form|
|
|
>
|
|
{{#if @isMakeAPoll}}
|
|
<CreateOptionsText
|
|
@options={{this.formData.options}}
|
|
@addOption={{this.formData.addOption}}
|
|
@deleteOption={{this.formData.deleteOption}}
|
|
@form={{form}}
|
|
/>
|
|
{{else}}
|
|
<CreateOptionsDates
|
|
@options={{this.formData.options}}
|
|
@updateOptions={{this.formData.updateOptions}}
|
|
@form={{form}}
|
|
/>
|
|
{{/if}}
|
|
|
|
<div class="row cr-steps-bottom-nav">
|
|
<div class="col-6 col-md-8 order-12">
|
|
<NextButton />
|
|
</div>
|
|
<div class="col-6 col-md-4 order-1 text-right">
|
|
<BackButton @onClick={{action "previousPage"}} />
|
|
</div>
|
|
</div>
|
|
</BsForm>
|
|
</div> |