diff options
author | luxagraf <sng@luxagraf> | 2021-02-12 09:26:42 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf> | 2021-02-12 09:26:42 -0500 |
commit | 99b4cc2a755afe7fd2e772e76d6e5385a9440bd2 (patch) | |
tree | d122389fdd37c793f48ffee1b9e7ee9e02915b23 /design/templates | |
parent | b475a6e011b8f76ca65b0a7152ade0020927f701 (diff) |
templates: fixed some bugs with comment posting
Diffstat (limited to 'design/templates')
-rw-r--r-- | design/templates/comments/posted.html | 4 | ||||
-rw-r--r-- | design/templates/comments/preview.html | 6 |
2 files changed, 6 insertions, 4 deletions
diff --git a/design/templates/comments/posted.html b/design/templates/comments/posted.html index e5fed65..de9aa9e 100644 --- a/design/templates/comments/posted.html +++ b/design/templates/comments/posted.html @@ -27,12 +27,14 @@ {% endblock %} {% block primary %} <main> - <article> + <article class="content"> <header class="post-header"> <h1 class="post-title">Thank you for your comment</h1> </header> + <div class="post-article"> <p>Unless you've previously been approved a few times, your comment will be moderated. If we're on the road this can sometimes take a few days, so please be patient.</p> <p><a href="{{comment.content_object.get_absolute_url}}">Return to the page you came from</a> Redirecting in <span id="countdown">5</span></p> + </div> </article> </main> {% endblock %} diff --git a/design/templates/comments/preview.html b/design/templates/comments/preview.html index 164b724..9e27c81 100644 --- a/design/templates/comments/preview.html +++ b/design/templates/comments/preview.html @@ -7,14 +7,14 @@ class="detail"{%endblock%} {% block primary %} <main> - <article> + <article class="content"> <header class="post-header"> <h1 class="post-title">{% trans "Preview your comment" %}</h1> </header> {% load comments %} -<div class="comment--form--wrapper"> -<div class="comment--form--header"> +<div class="comment-form-wrapper"> +<div class="comment-form-header"> <form action="{% comment_form_target %}" method="post" class="comment--form" style="margin-left: 0;">{% csrf_token %} {% if next %}<div><input type="hidden" name="next" value="{{ next }}" /></div>{% endif %} {% if form.errors %} |