mirror of
https://github.com/jointakahe/takahe.git
synced 2024-06-02 21:39:28 +00:00
10 lines
392 B
HTML
10 lines
392 B
HTML
{% if follow %}
|
|
<button title="Unfollow" class="active" hx-trigger="click, keyup[key=='Enter']" hx-post="{{ hashtag.urls.unfollow }}" hx-swap="outerHTML" tabindex="0">
|
|
Unfollow
|
|
</button>
|
|
{% else %}
|
|
<button title="Follow" hx-trigger="click, keyup[key=='Enter']" hx-post="{{ hashtag.urls.follow }}" hx-swap="outerHTML" tabindex="0">
|
|
Follow
|
|
</button>
|
|
{% endif %}
|