{% extends "pretixpresale/event/base.html" %} {% load i18n %} {% load bootstrap3 %} {% load eventurl %} {% block title %}{% trans "Change room" %}{% endblock %} {% block content %}

{% trans "Change room" %}

{% if room %}
{% csrf_token %}
{% trans "Your room membership" %}

{% blocktrans trimmed with room=room.name %} You are taking part in the roomshare as part of the room {{ room }}. {% endblocktrans %}

{% blocktrans trimmed %} You need to leave this room before you can join or create a new one. {% endblocktrans %}

{% if is_admin %}
{% blocktrans trimmed %} You are the creator of this room. If you leave it, nobody will be able to change the password any more. {% endblocktrans %}
{% endif %}

{% if is_admin %}
{% csrf_token %}
{% trans "Change room password" %} {% bootstrap_form change_form layout="checkout" %}
{% endif %}
{% trans "Go back" %}
{% else %}
{% csrf_token %} {% include "pretix_roomsharing/fragment_roomform.html" %}
{% endif %} {% endblock %}