20 lines
533 B
HTML
20 lines
533 B
HTML
{% extends 'base.html' %}
|
|
{% load i18n static crispy_forms_filters %}
|
|
{% block content %}
|
|
<h1>{% if object %}Update{% else %}Create{% endif %}</h1>
|
|
<form method="post">
|
|
{% csrf_token %}
|
|
{{ form|crispy }}
|
|
<button
|
|
type="submit"
|
|
name="add_lead"
|
|
id="lead-save"
|
|
class="btn btn-phoenix-primary"
|
|
>
|
|
{{ _("Save") }}
|
|
</button>
|
|
<a href="{% url 'lead_list' %}" class="btn btn-phoenix-secondary">
|
|
{{ _("Cancel") }}
|
|
</a>
|
|
</form>
|
|
{% endblock %} |