
{% extends 'core/base.html' %}

{% block content %}
    <h1>{% if object %}Modifica Cliente{% else %}Aggiungi Cliente{% endif %}</h1>
    <form method="post">
        {% csrf_token %}
        {{ form.as_p }}
        <button type-="submit" class="btn btn-primary">Salva</button>
        <a href="{% url 'cliente_list' %}" class="btn btn-secondary">Annulla</a>
    </form>
{% endblock %}
