haikal/templates/ledger_accounts/account_form.html
2024-12-25 17:28:03 +00:00

13 lines
377 B
HTML

{% extends 'base.html' %}
{% load crispy_forms_tags %}
{% block title %}{% if object %}Edit{% else %}Create{% endif %} Account{% endblock %}
{% block content %}
<h1>{% if object %}Edit{% else %}Create{% endif %} Account</h1>
<form method="post">
{% csrf_token %}
{{ form|crispy }}
<button type="submit" class="btn btn-primary">Save</button>
</form>
{% endblock %}