You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
830 B
27 lines
830 B
{% extends "crm/base.html" %} {% block content %}
|
|
<div class="container">
|
|
<div class="grid-x padding-bottom">
|
|
<div class="cell medium-6 large-6 my-block bubble">
|
|
<h1 class="title">
|
|
{% if form.instance.pk %}Edit{% else %}Add{% endif %} Event
|
|
</h1>
|
|
|
|
<form method="post">
|
|
{% csrf_token %} {{ form }}
|
|
|
|
<div class="mt-3">
|
|
<button type="submit" class="btn small-button">
|
|
Save Event
|
|
</button>
|
|
<a
|
|
href="{% url 'crm:planned_events' %}"
|
|
class="btn btn-secondary"
|
|
>Cancel</a
|
|
>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
{% endblock %}
|
|
|