-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Request the creation of a new contact if it does not exist closes #1248 Co-authored-by: horatio <[email protected]>
- Loading branch information
1 parent
dcd5e9c
commit 7e2d128
Showing
5 changed files
with
271 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
120 changes: 118 additions & 2 deletions
120
client/app/components/packages/projects/projects-new-information.hbs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,134 @@ | ||
{{#let @form as |form|}} | ||
<form.Section @title="Project Information"> | ||
|
||
<Ui::Question @required={{true}} as |Q|> | ||
<Q.Label> | ||
Project Name | ||
</Q.Label> | ||
|
||
<form.Field | ||
@attribute="dcpProjectname" | ||
@attribute="projectName" | ||
@type="text-input" | ||
id={{Q.questionId}} | ||
@showCounter={{true}} | ||
@maxlength="50" | ||
/> | ||
</Ui::Question> | ||
</form.Section> | ||
<form.Section @title="Contact Information"> | ||
<h3>Primary Contact</h3> | ||
<p>This contact is the person who will respond to public inquiries regarding the application.</p> | ||
<Ui::Question @required={{true}} as |Q|> | ||
<Q.Label> | ||
First Name | ||
</Q.Label> | ||
|
||
<form.Field | ||
@attribute="primaryContactFirstName" | ||
@type="text-input" | ||
id={{Q.questionId}} | ||
@showCounter={{true}} | ||
@maxlength="50" | ||
/> | ||
</Ui::Question> | ||
<Ui::Question @required={{true}} as |Q|> | ||
<Q.Label> | ||
Last Name | ||
</Q.Label> | ||
|
||
<form.Field | ||
@attribute="primaryContactLastName" | ||
@type="text-input" | ||
id={{Q.questionId}} | ||
@showCounter={{true}} | ||
@maxlength="50" | ||
/> | ||
</Ui::Question> | ||
<Ui::Question @required={{true}} as |Q|> | ||
<Q.Label> | ||
</Q.Label> | ||
|
||
<form.Field | ||
@attribute="primaryContactEmail" | ||
@type="text-input" | ||
id={{Q.questionId}} | ||
@showCounter={{true}} | ||
@maxlength="50" | ||
/> | ||
</Ui::Question> | ||
<Ui::Question @required={{false}} as |Q|> | ||
<Q.Label> | ||
Phone | ||
</Q.Label> | ||
<p class="q-help"> | ||
No dashes, parentheses, or special characters. | ||
</p> | ||
|
||
<form.Field | ||
@attribute="primaryContactPhone" | ||
@type="text-input" | ||
id={{Q.questionId}} | ||
@showCounter={{true}} | ||
@maxlength="10" | ||
/> | ||
</Ui::Question> | ||
|
||
<h3>Applicant</h3> | ||
<p>The owner, entity, or representative of the project described in this application.</p> | ||
<Ui::Question @required={{true}} as |Q|> | ||
<Q.Label> | ||
First Name | ||
</Q.Label> | ||
|
||
<form.Field | ||
@attribute="applicantFirstName" | ||
@type="text-input" | ||
id={{Q.questionId}} | ||
@showCounter={{true}} | ||
@maxlength="50" | ||
/> | ||
</Ui::Question> | ||
<Ui::Question @required={{true}} as |Q|> | ||
<Q.Label> | ||
Last Name | ||
</Q.Label> | ||
|
||
<form.Field | ||
@attribute="applicantLastName" | ||
@type="text-input" | ||
id={{Q.questionId}} | ||
@showCounter={{true}} | ||
@maxlength="50" | ||
/> | ||
</Ui::Question> | ||
<Ui::Question @required={{true}} as |Q|> | ||
<Q.Label> | ||
</Q.Label> | ||
|
||
<form.Field | ||
@attribute="applicantEmail" | ||
@type="text-input" | ||
id={{Q.questionId}} | ||
@showCounter={{true}} | ||
@maxlength="50" | ||
/> | ||
</Ui::Question> | ||
<Ui::Question @required={{false}} as |Q|> | ||
<Q.Label> | ||
Phone | ||
</Q.Label> | ||
<p class="q-help"> | ||
No dashes, parentheses, or special characters. | ||
</p> | ||
|
||
<form.Field | ||
@attribute="applicantPhone" | ||
@type="text-input" | ||
id={{Q.questionId}} | ||
@showCounter={{true}} | ||
@maxlength="10" | ||
/> | ||
</Ui::Question> | ||
</form.Section> | ||
{{/let}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters