19 lines
737 B
HTML
19 lines
737 B
HTML
{% extends 'program_base.html' %}
|
|
{% load commonmark %}
|
|
{% load bootstrap3 %}
|
|
|
|
{% block program_content %}
|
|
<h2>{% if request.resolver_match.url_name == "eventfeedback_update" %}Update{% else %}Submit{% endif %} Feedback for {{ camp.title }} event: {{ event.title }}</h2>
|
|
<form method="POST">
|
|
{% csrf_token %}
|
|
{% bootstrap_form form %}
|
|
<button type="submit" class="btn btn-success">
|
|
<i class="fas fa-check"></i>
|
|
{% if request.resolver_match.url_name == "eventfeedback_update" %}Update{% else %}Submit{% endif %} Feedback
|
|
</button>
|
|
<a href="{% url 'program:event_detail' camp_slug=camp.slug event_slug=event.slug %}" class="btn btn-primary"><i class="fas fa-undo"></i> Cancel</a>
|
|
|
|
</form>
|
|
|
|
{% endblock program_content %}
|