From a06f380b67a2f0d92dea08afe7843609e1497ee1 Mon Sep 17 00:00:00 2001 From: lew Date: Fri, 10 Apr 2026 15:33:57 +0100 Subject: [PATCH] fix: label-for on form elements --- src/render.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/render.rs b/src/render.rs index 6585d3a..da98837 100644 --- a/src/render.rs +++ b/src/render.rs @@ -23,7 +23,7 @@ pub fn render_page(template: &str, config: &Config, entries: &[Entry], form_html pub fn render_form(config: &Config) -> String { let website_section = if config.enable_website_links { format!( - "\n\n\n", + "\n\n\n", config.label_website ) } else { @@ -32,7 +32,7 @@ pub fn render_form(config: &Config) -> String { let captcha_section = if config.enable_captcha { format!( - "\n\n\n", + "\n\n\n", config.captcha_question ) } else { @@ -176,11 +176,11 @@ pub fn render_form(config: &Config) -> String { format!( r#"{prompt}
- - + + {website_section} - - + + {captcha_section} {drawing_section}{voice_note_section}
"#,