Skip to content

Commit

Permalink
nothing much to see here
Browse files Browse the repository at this point in the history
  • Loading branch information
horatiorosa committed Sep 30, 2024
1 parent a0098c6 commit bc9fa2a
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 25 deletions.
1 change: 1 addition & 0 deletions client/app/components/packages/pas-form/edit.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
@validators={{array this.validations.SaveablePasFormValidations this.validations.SubmittablePasFormValidations}}
as |saveablePasForm|
>
{{log 'saveablePackageForm.data' saveablePackageForm.data}}
<div class="grid-x grid-margin-x">
<div class="cell large-8">

Expand Down
57 changes: 32 additions & 25 deletions client/app/components/packages/projects/new.hbs
Original file line number Diff line number Diff line change
@@ -1,31 +1,38 @@
<SaveableForm
@model={{@package}}
as |saveableForm|
@validators={{array (hash) this.validations.SubmittableProjectForm this.validations.SaveableProjectForm}}
as |saveablePackageForm|
>
<div class="grid-x grid-margin-x">
<div class="cell large-8">
<section class="form-section">
<h1 class="header-large">
Project Initiation Form
</h1>
<p>
1. Display instructional text at the top of the form: The <b>Project Initiation Form</b> begins the project tracking process and gives NYC Planning the necessary details before the Informational Interest meeting. By submitting this form, you confirm your intent to file a Land Use Application with NYC Planning.
</p>
<p>
While some projects might still be in the early stages, all required fields (*) on this form must be completed. Once submitted, your project will be available to view in this portal. After reviewing your submission, NYC Planning will contact you with the next steps.
</p>
</section>
<Packages::Projects::ProjectInformation @form={{saveableForm}} />
<saveablePackageForm.SaveableForm
@model={{saveablePackageForm.data}}
@validators={{array (hash) this.validations.SaveableProjectForm this.validations.SubmittableProjectForm}}
as |saveableForm|>
{{log 'saveablePackageForm.data' saveablePackageForm.data}}
<div class="grid-x grid-margin-x">
<div class="cell large-8">
<section class="form-section">
<h1 class="header-large">
Project Initiation Form
</h1>
<p>
1. Display instructional text at the top of the form: The <b>Project Initiation Form</b> begins the project tracking process and gives NYC Planning the necessary details before the Informational Interest meeting. By submitting this form, you confirm your intent to file a Land Use Application with NYC Planning.
</p>
<p>
While some projects might still be in the early stages, all required fields (*) on this form must be completed. Once submitted, your project will be available to view in this portal. After reviewing your submission, NYC Planning will contact you with the next steps.
</p>
</section>
<Packages::Projects::ProjectInformation @form={{saveableForm}} />
</div>
<div class="cell large-4 sticky-sidebar">
<saveableForm.SubmitButton
@isEnabled={{saveablePackageForm.isSubmittable}}
@onClick={{this.submitPackage}}
/>
</div>
<saveableForm.ConfirmationModal>
Great job.
</saveableForm.ConfirmationModal>
</div>
<div class="cell large-4 sticky-sidebar">
<saveableForm.SubmitButton
@isEnabled={{saveableForm.isSaveable}}
@onClick={{this.submitPackage}}
/>
</div>
<saveableForm.ConfirmationModal>
Great job.
</saveableForm.ConfirmationModal>
</div>
</saveablePackageForm.SaveableForm>

</SaveableForm>

0 comments on commit bc9fa2a

Please sign in to comment.