{% load i18n %}{% if is_favouritable %}
  {% ifnotequal style_group "dumb" %}
    <div id="favourite-bit">
        <form action="{% url favourites:index %}" method="post">
            <input type="hidden" name="URL" value="{{ favourite_url|escape }}" />
            {% csrf_token %}
            {% if is_favourite %}
                <input type="submit" id="unfavourite" name="unfavourite" value="" />
            {% else %}
                <input type="submit" id="favourite" name="favourite" value="" />
            {% endif %}
        </form>
    </div>
  {% else %}
    <div id="favourite-bit">
        <form action="{% url favourites:index %}" method="post">
            <input type="hidden" name="URL" value="{{ favourite_url|escape }}" />
            {% csrf_token %}
            {% if is_favourite %}
                <input type="submit" id="unfavourite" name="unfavourite" value="{% trans "Unfavourite" %}" />
            {% else %}
                <input type="submit" id="favourite" name="favourite" value="{% trans "Favourite" %}" />
            {% endif %}
        </form>
    </div>
  {% endifnotequal %}
{% endif %}