15 lines
575 B
HTML
15 lines
575 B
HTML
{% extends 'base.html' %}
|
|
{% load i18n %}
|
|
{% load crispy_forms_filters %}
|
|
{% block title %}{% trans "Add Representative" %}{% endblock title %}
|
|
{% block content %}
|
|
<div class="row my-4">
|
|
<h2>{% trans "Add Representative" %}</h2>
|
|
<form method="post">
|
|
{% csrf_token %}
|
|
{{ form|crispy }}
|
|
<button type="submit" class="btn btn-sm btn-primary">{% trans "Save" %}</button>
|
|
<a href="{% url 'representative_list' %}" class="btn btn-sm btn-secondary">{% trans "Cancel" %}</a>
|
|
</form>
|
|
</div>
|
|
{% endblock %} |