summaryrefslogtreecommitdiff
path: root/app/lttr/templates
diff options
context:
space:
mode:
authorlxf <sng@luxagraf.net>2021-10-28 21:22:20 -0400
committerlxf <sng@luxagraf.net>2021-10-28 21:22:20 -0400
commitd50a1dbcb8f7ed42673c3c1fe0040cc0e24a8462 (patch)
tree59fec4e0874ab45272ec903cf21c29cea756b5e7 /app/lttr/templates
parent73fa4f3becbbddb4f81357bd74135785e85be990 (diff)
lttr: fixed card subscribe template
Diffstat (limited to 'app/lttr/templates')
-rw-r--r--app/lttr/templates/lttr/postcard_subscribe.html11
1 files changed, 8 insertions, 3 deletions
diff --git a/app/lttr/templates/lttr/postcard_subscribe.html b/app/lttr/templates/lttr/postcard_subscribe.html
index b4bbfd4..8175d43 100644
--- a/app/lttr/templates/lttr/postcard_subscribe.html
+++ b/app/lttr/templates/lttr/postcard_subscribe.html
@@ -5,15 +5,20 @@
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet"
- href="/media/screenv11.css"
+ href="/media/screenv11.min.css"
media="screen">
+<style>
+.card-subscribe fieldset label {
+ visibility: unset;
+}
+</style>
</head>
<body>
- <form action="" method="post" target='_parent' class="generic-form flex newsletter-subscribe">{% csrf_token %}
+ <form action="" method="post" target='_parent' class="generic-form flex newsletter-subscribe card-subscribe">{% csrf_token %}
{% for field in form %}
<fieldset>
{{field.label_tag}}
- {{field}}
+ {%ifequal field.name "address"%}<div class="textarea-rounded">{{ field }}</div>{%else%}{{field}}{%endifequal%}
</fieldset>
{% if forloop.last %}<input type="submit" name="post" class="btn" value="Subscribe" />{%endif%}
</form>