feat: add form descriptions
This commit is contained in:
1 parent
111a7aea86
commit
c6867baad4
8 files changed
+30
-10
No files matched your search
@@ -18,6 +18,7 @@ pub fn StudentAcademicsPage() -> impl IntoView {
|
||||
<div class="flex flex-col flex-2 mt-6">
|
||||
<ValidatedForm
|
||||
title="Academic Information"
|
||||
description="This information will allow you to be eligible for any scholarships that have specific academic/grade requirements."
|
||||
on_submit=controller.submit_action
|
||||
>
|
||||
<OutlinedTextField
|
||||
|
||||
@@ -11,7 +11,11 @@ pub fn StudentAthleticsPage() -> impl IntoView {
|
||||
<Show when=move || controller.data_resource.get().is_some() fallback=Loading>
|
||||
<div class="flex flex-1" />
|
||||
<div class="flex flex-col flex-2 mt-6">
|
||||
<ValidatedForm title="Athletics Information" on_submit=controller.submit_action>
|
||||
<ValidatedForm
|
||||
title="Athletics Information"
|
||||
description="This information will allow you to be eligible for any scholarships that have specific sports requirements."
|
||||
on_submit=controller.submit_action
|
||||
>
|
||||
<MultiEntry
|
||||
label="Athletics Activities:"
|
||||
description="Leave blank if not applicable."
|
||||
|
||||
@@ -15,7 +15,11 @@ pub fn StudentDemographicsPage() -> impl IntoView {
|
||||
<Show when=move || controller.data_resource.get().is_some() fallback=Loading>
|
||||
<div class="flex flex-1" />
|
||||
<div class="flex flex-col flex-2 mt-6">
|
||||
<ValidatedForm title="Student Demographic Form" on_submit=controller.submit_action>
|
||||
<ValidatedForm
|
||||
title="Student Demographic Form"
|
||||
description="Here you'll set up some basic information about yourself."
|
||||
on_submit=controller.submit_action
|
||||
>
|
||||
<OutlinedTextField
|
||||
label="First Name:"
|
||||
data_map=controller.data_map
|
||||
|
||||
@@ -13,6 +13,7 @@ pub fn StudentExtracurricularsPage() -> impl IntoView {
|
||||
<div class="flex flex-col flex-2 mt-6">
|
||||
<ValidatedForm
|
||||
title="Extracurricular Information"
|
||||
description="This information will allow you to be eligible for any scholarships that have specific extracurricular requirements."
|
||||
on_submit=controller.submit_action
|
||||
>
|
||||
// Inputs here.
|
||||
|
||||
@@ -10,7 +10,11 @@ pub fn StudentFamilyPage() -> impl IntoView {
|
||||
<Show when=move || controller.data_resource.get().is_some() fallback=Loading>
|
||||
<div class="flex flex-1" />
|
||||
<div class="flex flex-col flex-2 mt-6">
|
||||
<ValidatedForm title="Family Information" on_submit=controller.submit_action>
|
||||
<ValidatedForm
|
||||
title="Family Information"
|
||||
description="General family information. You must fill out information about at least one parent."
|
||||
on_submit=controller.submit_action
|
||||
>
|
||||
// Inputs here.
|
||||
<OutlinedTextField
|
||||
label="Total number of children in family:"
|
||||
@@ -71,7 +75,6 @@ pub fn StudentFamilyPage() -> impl IntoView {
|
||||
input_type=TextFieldType::Text
|
||||
required=false
|
||||
/>
|
||||
// TODO Could this be a select dropdown?
|
||||
<OutlinedTextField
|
||||
label="Parent/Guardian 2 Relationship:"
|
||||
data_map=controller.data_map
|
||||
@@ -80,7 +83,6 @@ pub fn StudentFamilyPage() -> impl IntoView {
|
||||
input_type=TextFieldType::Text
|
||||
required=false
|
||||
/>
|
||||
// TODO Get a better example
|
||||
<OutlinedTextField
|
||||
label="Parent/Guardian 2 Occupation:"
|
||||
data_map=controller.data_map
|
||||
|
||||
@@ -28,10 +28,11 @@ pub fn StudentFinancialPage() -> impl IntoView {
|
||||
view! {
|
||||
<div class="flex flex-1" />
|
||||
<div class="flex flex-col flex-2 mt-6">
|
||||
// <ValidatedForm title="Student Demographic Form" on_submit=controller.submit_action>
|
||||
<Header
|
||||
title="Financial Information"
|
||||
description="Please upload your FAFSA SAR (Student Aid Report) here."
|
||||
description=
|
||||
"Please upload your FAFSA SAR (Student Aid Report) here. This information is NOT required,
|
||||
but some scholarships may recognize this as a requirement."
|
||||
/>
|
||||
<Suspense fallback=Loading>
|
||||
<FileDrop
|
||||
@@ -41,7 +42,6 @@ pub fn StudentFinancialPage() -> impl IntoView {
|
||||
allowed_types=vec![".pdf".to_string()]
|
||||
/>
|
||||
</Suspense>
|
||||
// </ValidatedForm>
|
||||
</div>
|
||||
<div class="flex flex-1" />
|
||||
}
|
||||
|
||||
@@ -13,7 +13,11 @@ pub fn StudentUniversityPage() -> impl IntoView {
|
||||
<Show when=move || controller.data_resource.get().is_some() fallback=Loading>
|
||||
<div class="flex flex-1" />
|
||||
<div class="flex flex-col flex-2 mt-6">
|
||||
<ValidatedForm title="University Information" on_submit=controller.submit_action>
|
||||
<ValidatedForm
|
||||
title="University Information"
|
||||
description="Here you may fill out general information about the university you plan to attend."
|
||||
on_submit=controller.submit_action
|
||||
>
|
||||
// Inputs here.
|
||||
<OutlinedTextField
|
||||
label="University Name:"
|
||||
|
||||
@@ -11,7 +11,11 @@ pub fn StudentWorkExperiencePage() -> impl IntoView {
|
||||
<Show when=move || controller.data_resource.get().is_some() fallback=Loading>
|
||||
<div class="flex flex-1" />
|
||||
<div class="flex flex-col flex-2 mt-6">
|
||||
<ValidatedForm title="Student Work Experience" on_submit=controller.submit_action>
|
||||
<ValidatedForm
|
||||
title="Student Work Experience"
|
||||
description="Here you may add information about your past/current workplace."
|
||||
on_submit=controller.submit_action
|
||||
>
|
||||
<MultiEntry
|
||||
label="Work Experience:"
|
||||
description="Leave blank if not applicable."
|
||||
|
||||
Reference in new issue
Block a user