feat: add new /add/ endpoint for quickly adding new transactions

This commit is contained in:
Herculino Trotta
2025-01-24 22:50:39 -03:00
parent 9c4ba3a6de
commit 0857b44fc3
5 changed files with 113 additions and 3 deletions

View File

@@ -0,0 +1,15 @@
{% extends 'layouts/base.html' %}
{% load crispy_forms_tags %}
{% load i18n %}
{% block title %}{% translate 'New transaction' %}{% endblock %}
{% block content %}
<div class="container py-3 column-gap-5"
_="install init_tom_select
install init_datepicker">
<form hx-post="{% url 'transaction_simple_add' %}" hx-swap="outerHTML" hx-target="body" novalidate>
{% crispy form form.helper_simple %}
</form>
</div>
{% endblock %}