{% extends "dashboard/base.html" %} {% load i18n %} {% load crispy_forms_tags %} {% load render_table from django_tables2 %} {% block title-page %} {% if form.instance.pk %}{{ form.instance.name }}{% else %}{% trans "Create" %}{% endif %} | {% trans "lease type" %} {% endblock %} {% block content %}
{% if object.pk %} {% trans "Delete" %} {% endif %} {% trans "Back" %}

{% if form.instance.pk %} {{ form.instance.name }} {% else %} {% trans "New lease type" %} {% endif %}

{% crispy form %}
{% endblock %}