{% extends "base.html" %}
{% load i18n placeholder_tags simple_translation_tags %}
{% load url from future %}

{% block main %}
{% with event|get_preferred_translation_from_request:request as event_title %}
    <a href="{% url "simple_events_list" %}">{% trans "Back to Events" %}</a>
    <h1>{{ event_title.title }}</h1>
    <p>{{ event_title.description }}<p>
            
    {% with event.placeholders|choose_placeholder:"content" as content %}
        {% render_placeholder content %}
    {% endwith %}
{% endwith %}
{% endblock %}
