<!--
SPDX-FileCopyrightText: 2017-present Tobias Kunze
SPDX-License-Identifier: AGPL-3.0-only WITH LicenseRef-Pretalx-AGPL-3.0-Terms
-->

{% extends "cfp/event/base.html" %}

{% load copyable %}
{% load i18n %}
{% load static %}

{% block title %}{{ submission.title }} :: {% endblock title %}

{% block cfp_header %}
    <script defer src="{% static "common/js/ui/copy.js" %}"></script>
    <link rel="stylesheet" href="{% static "common/css/ui/tooltip.css" %}" />
{% endblock cfp_header %}

{% block content %}

    {% include "cfp/includes/user_submission_header.html" %}

    <div class="alert alert-info offset-md-3" role="alert"><div>
        {% blocktranslate trimmed %}
            Invite another speaker to your proposal here. Instead of letting us send an email,
            (which might get caught by spam filters) you can also give them this link:
        {% endblocktranslate %}
        <br>
        {{ submission.urls.accept_invitation.full|copyable }}
    </div></div>
    <form method="post">
        {% csrf_token %}
        {{ form }}
        <div class="row">
            <div class="w-25 flip ml-auto url-links">
                <a class="btn btn-block btn-info btn-lg" href="{{ submission.urls.user_base }}">
                    {{ phrases.base.cancel }}
                </a>
                <button type="submit" class="btn btn-block btn-success btn-lg">
                    {{ phrases.base.send }}
                </button>
            </div>
        </div>
    </form>
{% endblock content %}
