{% comment %} Like / boost / reply bar for one post. Each button hx-posts to PostActionView, which answers with this same partial re-rendered, swapped in over the old one (hx-target="this" is inherited by the buttons/form). The reply form toggles open via the "replying" class; it's also rendered open after a failed reply, keeping what was typed. {% endcomment %}
{% if post.supports_interactions %} {% else %} {% if post.metrics %} ♡ {{ post.metrics.likes }} 🔁 {{ post.metrics.reposts }} 💬 {{ post.metrics.replies }} {% endif %} {% endif %} {% if error %}{{ error }}{% endif %} {% if notice %}{{ notice }}{% endif %} {% if post.supports_interactions %}
{% endif %}