changes to the register option to have an optin button for the marketing emails

This commit is contained in:
2026-08-24 23:08:49 +02:00
parent 92f7728dfd
commit ffe730cc50
2 changed files with 18 additions and 6 deletions
+15 -5
View File
@@ -55,13 +55,18 @@
display: flex;
align-items: flex-start;
gap: 0.6rem;
margin: 0.35rem 0 1rem;
margin: 1.1rem 0 1.3rem;
color: #244f66;
font-size: 0.95rem;
cursor: pointer;
}
.checkbox-line input {
width: auto;
margin-top: 0.2rem;
.checkbox-line input[type="checkbox"] {
width: 18px;
height: 18px;
margin-top: 0.1rem;
accent-color: #0a5f8f;
cursor: pointer;
}
.auth-btn {
@@ -117,8 +122,13 @@
<label for="password_repeat">Passwort wiederholen</label>
<input id="password_repeat" name="password_repeat" type="password" autocomplete="new-password" required>
</div>
<label class="checkbox-line">
<input id="marketing_opt_in" name="marketing_opt_in" type="checkbox">
<span>Ja, ich möchte E-Mails zu Produktupdates, Neuigkeiten und Marketinginformationen erhalten. (Abmeldung jederzeit möglich)</span>
</label>
<button class="auth-btn" type="submit">Konto erstellen</button>
</form>
<p class="auth-meta">Bereits registriert? <a href="{{ url_for('login') }}">Zum Login</a></p>
</section>
{% endblock %}
{% endblock %}