summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorHombreLaser <sebastian-440@live.com>2024-02-24 17:12:34 -0600
committerHombreLaser <sebastian-440@live.com>2024-02-24 17:12:34 -0600
commita0ff547c4bd4361f60baf2d82d511a291b5996ff (patch)
tree99d99ee7c27a7f28d44f74735327027099a25fc9 /templates
parent4aa78f692bc4346a7a565cdedae9acd1cd1e75dc (diff)
Improve comments rendering
Diffstat (limited to 'templates')
-rw-r--r--templates/replies/form.jinja16
-rw-r--r--templates/replies/index.jinja4
2 files changed, 10 insertions, 10 deletions
diff --git a/templates/replies/form.jinja b/templates/replies/form.jinja
index f585d4e..e65e244 100644
--- a/templates/replies/form.jinja
+++ b/templates/replies/form.jinja
@@ -1,17 +1,17 @@
-<form action="" class="reply-form" method="post">
+<form action="" class="reply-form" id="reply-form" method="post">
<div>
- <label for="author"> Name: </label>
- <input type="text" name="author" id="author" />
+ <label for="author"> Name: </label>
+ <input type="text" name="author" id="author" />
</div>
<div>
- <label for="email"> Email: </label>
- <input type="text" name="email" id="email" />
+ <label for="email"> Email: </label>
+ <input type="text" name="email" id="email" />
</div>
<div>
- <textarea rows="4" cols="40" form="reply-form" name="content" id="content" />
- </textarea>
+ <textarea rows="4" cols="40" form="reply-form" name="content" id="content" />
+ </textarea>
</div>
<div>
- <input type="submit" value="Submit" />
+ <input type="submit" value="Submit" />
</div>
</form>
diff --git a/templates/replies/index.jinja b/templates/replies/index.jinja
index df0705a..c1fc6ea 100644
--- a/templates/replies/index.jinja
+++ b/templates/replies/index.jinja
@@ -1,4 +1,4 @@
-<div id="comment-section" class="comment-section">
+<div id="replies-section-{{comment.id}}" class="replies-section">
{% for reply in page.items %}
<div id="reply-{{reply.id}}" class="comment">
<section class="comment-meta">
@@ -6,7 +6,7 @@
{% if reply.author is eq('') %}
Anonymous said:
{% else %}
- {{ reply.author }} said:
+ {{ reply.author }} replied:
{% endif %}
</div>
<div class="date">