{% extends 'base.html' %}

{% block content %}
  <h1>{% if object %}Atualizar Cliente{% else %}Novo Cliente{% endif %}</h1>
  <form method="post">
    {% csrf_token %}
    {{ form.as_p }}
    <button type="submit" class="btn btn-primary">Salvar</button>
  </form>
{% endblock %}
