395 B · text History 2264215
<button hx-post="/c/{{ slug }}/watch" hx-swap="outerHTML" type="button"
        class="btn btn-sm {% if watching %}btn-primary{% else %}btn-ghost{% endif %}"
        title="{% if watching %}Stop watching this category{% else %}Watch for new topics{% endif %}">
  <i class="fas fa-bell{% if not watching %}-slash{% endif %} mr-1"></i>{% if watching %}Watching{% else %}Watch{% endif %}
</button>