feat: create new header component

This component is now required for forms.
This commit is contained in:
alphafetus committed 2026-01-12 16:14:24 -05:00
1 parent 5d72a8f949
commit 14d89fc696
7 files changed
+76 -13

No files matched your search

+5 -5
View File
@@ -275,11 +275,11 @@ pub fn LoanerBorrowForm() -> impl IntoView {
//#endregion
view! {
<ValidatedForm on_submit=Callback::new(on_submit)>
<div class="flex flex-col justify-center gap-2 mb-1 py-3 px-2">
<h2 class="text-2xl font-bold">"Borrower Information"</h2>
<p class="text-lg">"Please fill out the form below."</p>
</div>
<ValidatedForm
on_submit=Callback::new(on_submit)
title="Borrower Information"
description="Please fill out the form below."
>
<Row>
<OutlinedTextField
label="First Name:"