minor fixes
This commit is contained in:
		@@ -36,7 +36,6 @@ def thread(slug):
 | 
			
		||||
        page = max(1, min(page_count, int(request.args.get("page", default = 1))))
 | 
			
		||||
 | 
			
		||||
    posts = thread.get_posts(POSTS_PER_PAGE, (page - 1) * POSTS_PER_PAGE)
 | 
			
		||||
    print(posts)
 | 
			
		||||
    topic = Topics.find({"id": thread.topic_id})
 | 
			
		||||
    other_topics = Topics.select()
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -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">
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user