Skip to content

Commit

Permalink
working draft of new project attached documents form
Browse files Browse the repository at this point in the history
  • Loading branch information
horatiorosa committed Nov 8, 2024
1 parent 85a9c38 commit e7b95c3
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
3 changes: 3 additions & 0 deletions client/app/components/projects/new.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@
@form={{saveableProjectsNewForm}} />
<Projects::ProjectsNewProjectDescription
@form={{saveableProjectsNewForm}} />
<Projects::ProjectsNewAttachedDocuments
@form={{saveableProjectsNewForm}}
@package={{saveableProjectsNewForm.data}}/>
</div>
<div class="cell large-4 sticky-sidebar">
<saveableProjectsNewForm.PageNav>
Expand Down
18 changes: 18 additions & 0 deletions client/app/components/projects/projects-new-attached-documents.hbs
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<@form.Section @title='Attached Documents'>
<p>
Please attach the following required documents. (Additional materials that help to explain the proposed project
may also be submitted.)
</p>

<SaveableForm::FieldValidationMessage
@attribute='documents'
@validation={{@form.errors.documents.validation}}
/>

<Packages::Attachments
@package={{@form.data}}
@fileManager={{@model.fileManager}}
data-test-section='attachments'
@disabled={{true}}
/>
</@form.Section>

0 comments on commit e7b95c3

Please sign in to comment.