From b17c462abbfa372f2dec23a542652b8aa47e8eaa Mon Sep 17 00:00:00 2001 From: Lucas Vas Date: Fri, 16 Jan 2026 20:38:10 -0500 Subject: [PATCH] chore: remove debug information from form pages --- src/components/validated_form.rs | 6 +++++- src/pages/provider_contact.rs | 11 ----------- src/pages/scholarship_info.rs | 9 ++------- 3 files changed, 7 insertions(+), 19 deletions(-) diff --git a/src/components/validated_form.rs b/src/components/validated_form.rs index ffdd0c2..8da4b19 100644 --- a/src/components/validated_form.rs +++ b/src/components/validated_form.rs @@ -149,7 +149,11 @@ pub fn ValidatedForm( }; view! { -
+
impl IntoView { required=true /> - - - } }) }} diff --git a/src/pages/scholarship_info.rs b/src/pages/scholarship_info.rs index 4948cd0..d45bf13 100644 --- a/src/pages/scholarship_info.rs +++ b/src/pages/scholarship_info.rs @@ -9,7 +9,7 @@ use crate::common::{ExpandableInfo, ScholarshipFormParams, SubmitStatus, ValueTy use crate::components::{ActionButton, Banner, ChipsList, Loading, OutlinedTextField, Panel, RadioList, Row, TextFieldType, Toast, ToastContext, ToastList, ValidatedForm}; use super::UnauthenticatedPage; use crate::utils::get_user_claims; -use super::api::{get_provider_scholarships, get_scholarship_info, CreateScholarshipInfo, RegisterScholarship, DeleteProviderScholarship, get_comparisons_categorized, CreateTestComparisons}; +use super::api::{get_provider_scholarships, get_scholarship_info, CreateScholarshipInfo, RegisterScholarship, DeleteProviderScholarship, get_comparisons_categorized}; /// # Scholarship Info Page @@ -298,7 +298,7 @@ fn ScholarshipListEntry( let name = scholarship.data.get("name") .unwrap_or(&ValueType::String(None)) .as_string().unwrap_or_default() - .unwrap_or("".to_string()); + .unwrap_or("Unnamed Scholarship".to_string()); // Button click handlers let edit_click = { @@ -519,8 +519,6 @@ fn ScholarshipForm( //#endregion - let create_comps = ServerAction::::new(); - view! { - "Create Comparisons"