we can chat now?
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Simple_Not 2023-07-19 01:03:05 +10:00
parent 089b022a3b
commit 390974f1a3

View File

@ -29,14 +29,10 @@
<a class="card-action" href="#post-{{ posto.parent_post }}"> >>{{ posto.parent_post }} </a> <a class="card-action" href="#post-{{ posto.parent_post }}"> >>{{ posto.parent_post }} </a>
{% endif %} {% endif %}
<p>{{ posto.texto }}</p> <p>{{ posto.texto }}</p>
</div>
</div>
<div class="col s12">
<div class="card-action right">
<!-- <a href="#" hx-post="/post_my_post/{{ posto._key }}" hx-target="#neu-posts" >Answer me!</a> -->
<a href="#answer-post" hx-post="/answer_post/{{ posto._key }}" hx-target="#answer-post" >Ответить этому.</a>
</div>
{% if posto.answers_list | length > 0 %} {% if posto.answers_list | length > 0 %}
<br>
<p>Ответы:</p>
{% for ans in posto.answers_list %} {% for ans in posto.answers_list %}
<div class="card-action right"> <div class="card-action right">
<a href="#post-{{ ans }}">>>{{ posto.ans }}</a> <a href="#post-{{ ans }}">>>{{ posto.ans }}</a>
@ -45,6 +41,13 @@
{% endif %} {% endif %}
</div> </div>
</div> </div>
<div class="col s12">
<div class="card-action right">
<!-- <a href="#" hx-post="/post_my_post/{{ posto._key }}" hx-target="#neu-posts" >Answer me!</a> -->
<a href="#answer-post" hx-post="/answer_post/{{ posto._key }}" hx-target="#answer-post" >Ответить этому.</a>
</div>
</div>
</div>
</div> </div>
</div> </div>
{% endfor %} {% endfor %}