{% extends "projector/base_projector.html" %}

{% load tags %}
{% load i18n %}

{% block title %}{{ block.super }} – {% trans "Custom slide" %}{% endblock %}

{% block content %}
    <h1>{% trans 'Custom slide' %}</h1>
    <form action="" method="post">{% csrf_token %}
        {{ form.as_p }}
        <button class="button" type="submit">
            <span class="icon ok">{% trans 'Save' %}</span>
        </button>
        <button class="button" type="submit" name="apply">
            <span class="icon apply">{% trans 'Apply' %}</span>
        </button>
        <a href='{% url projector_control %}'>
        <button class="button" type="button" onclick="window.location='{% url projector_control %}'">
            <span class="icon cancel">{% trans 'Cancel' %}</span>
        </button>
        </a>
    </form>
{% endblock %}
