diff options
author | lxf <sng@luxagraf.net> | 2021-10-28 21:28:04 -0400 |
---|---|---|
committer | lxf <sng@luxagraf.net> | 2021-10-28 21:28:04 -0400 |
commit | 92c136bedf99997cde04d7683952a8ec7555dca6 (patch) | |
tree | 892875b8ade2881fc5762a129dd9ab865fba044c | |
parent | 2feb2a7b3620c8445e1faf24344a9f1d51636b2f (diff) |
lttr: more template bugs
-rw-r--r-- | app/lttr/templates/lttr/postcard_subscribe.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/lttr/templates/lttr/postcard_subscribe.html b/app/lttr/templates/lttr/postcard_subscribe.html index 627160b..4d917dc 100644 --- a/app/lttr/templates/lttr/postcard_subscribe.html +++ b/app/lttr/templates/lttr/postcard_subscribe.html @@ -14,13 +14,13 @@ </style> </head> <body> - <form action="" method="post" target='_parent' class="generic-form flex newsletter-subscribe card-subscribe">{% csrf_token %} + <form action="" method="post" target='_parent' class="generic-form newsletter-subscribe comment-form card-subscribe">{% csrf_token %} {% for field in form %} <fieldset> {{field.label_tag}} {%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%} + {% if forloop.last %}<input type="submit" name="post" class="btn" value="Send Me A Postcard" />{%endif%} <small class="alert">{% if field.errors %}{{field.errors}}{% endif %}</small> {%endfor%} </form> |