<div id="id_room_menu" style="display:none">
    <a href="/gameboard/" class="btn btn-cancel">NVM</a>
    {% if request.user == room.owner %}
    <form method="POST" action="{% url 'epic:delete_room' room.id %}">
        {% csrf_token %}
        <button type="submit" class="btn btn-danger" data-confirm="Delete this room?">DEL</button>
    </form>
    {% else %}
    <form method="POST" action="{% url 'epic:abandon_room' room.id %}">
        {% csrf_token %}
        <button type="submit" class="btn btn-abandon" data-confirm="Leave this room?">BYE</button>
    </form>
    {% endif %}
</div>
{% include "apps/applets/_partials/_gear.html" with menu_id="id_room_menu" %}

