fix broken speakerproposal remove person view

This commit is contained in:
Thomas Steen Rasmussen 2020-08-12 14:59:28 +02:00
parent f6859d9094
commit c6cb90e567

View file

@ -6,13 +6,13 @@ Remove "{{ speakerproposal.name }}" from "{{ eventproposal.title }}"? | {{ block
{% endblock %} {% endblock %}
{% block program_content %} {% block program_content %}
<h3>Remove "{{ speaker_proposal.name }}" from "{{ event_proposal.title }}"?</h3> <h3>Remove "{{ speaker_proposal.name }}" from "{{ eventproposal.title }}"?</h3>
<p class="lead">Really remove this {{ event_proposal.event_type.host_title }} from this event?</p> <p class="lead">Really remove this {{ event_proposal.event_type.host_title }} from this event?</p>
<form method="POST" enctype="multipart/form-data"> <form method="POST" enctype="multipart/form-data">
{% csrf_token %} {% csrf_token %}
{% bootstrap_button "<i class='fas fa-times'></i> Remove" button_type="submit" button_class="btn-danger" %} {% bootstrap_button "<i class='fas fa-times'></i> Remove" button_type="submit" button_class="btn-danger" %}
<a href="{% url 'program:event_proposal_detail' camp_slug=camp.slug pk=event_proposal.uuid %}" class="btn btn-primary"><i class='fas fa-undo'></i> Cancel</a> <a href="{% url 'program:event_proposal_detail' camp_slug=camp.slug pk=eventproposal.pk %}" class="btn btn-primary"><i class='fas fa-undo'></i> Cancel</a>
</form> </form>
{% endblock program_content %} {% endblock program_content %}