minor fixes

This commit is contained in:
2025-07-01 18:27:52 +03:00
parent 9ae55c92ba
commit e0d1abc1e9
2 changed files with 2 additions and 3 deletions

View File

@ -45,7 +45,7 @@
</div>
</nav>
{% for post in posts %}
{{ full_post(post = post, active_user = active_user, is_latest = loop.index0 == (posts | length)) }}
{{ full_post(post = post, active_user = active_user, is_latest = loop.index == (posts | length)) }}
{% endfor %}
</main>
@ -55,7 +55,7 @@
{% if can_post %}
<h1>Respond to "{{ thread.title }}"</h1>
{{ babycode_editor_form(ta_name = post_content)}}
{{ babycode_editor_form(ta_name = "post_content")}}
{% endif %}
{% endblock %}
<dialog id="delete-dialog">