Ficha de invitados: asterisco junto a la pregunta y condiciones sin duplicar

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TSyR5Zw5eGj6oPTRVjvP1b
This commit is contained in:
Alex
2026-10-21 00:05:47 +02:00
co-authored by Claude Sonnet 5.5
parent 9f90c75f9c
commit caecb951d8
2 changed files with 22 additions and 22 deletions
+2 -2
View File
@@ -26,7 +26,7 @@ def pregunta(q):
if q['largo'] else
f'<input name="{q["id"]}" type="text" maxlength="300"{" required" if q["req"] else ""}>')
d = f'<small>{esc(q["desc"])}</small>' if q['desc'] else ''
return f' <label>{esc(q["titulo"])}{mark}{d}\n {campo}\n </label>'
return f' <label><span>{esc(q["titulo"])}{mark}</span>{d}\n {campo}\n </label>'
bloques = []
for s in secciones:
@@ -63,7 +63,7 @@ page = f'''<!doctype html>
{chr(10).join(bloques)}
<fieldset class="sec">
<legend>Antes de enviar</legend>
<p class="note">Este podcast se realiza de forma altruista y colaborativa. Antes de enviar, lee las <a href="terminos.html#participacion" target="_blank" rel="noopener">condiciones de participación</a>.</p>
<p class="note">Este podcast se realiza de forma altruista y colaborativa.</p>
<div class="trap" aria-hidden="true"><label>No rellenes este campo <input name="web" type="text" tabindex="-1" autocomplete="off"></label></div>
<label class="check">
<input name="consent" type="checkbox" required>