23 lines
882 B
HTML
23 lines
882 B
HTML
{% extends "base.html" %}
|
|
{% load crispy_forms_filters %}
|
|
{% load i18n static %}
|
|
|
|
{% block title %}{{ _("Create Bill") }}{% endblock title %}
|
|
|
|
{% block content %}
|
|
<div class="row mt-4">
|
|
<h3 class="text-center">{% trans "Create Bill" %}</h3>
|
|
<form id="mainForm" method="post" class="needs-validation">
|
|
{% csrf_token %}
|
|
<div class="row g-3">
|
|
{{ form|crispy }}
|
|
</div>
|
|
<!-- Buttons -->
|
|
<div class="d-flex mt-5 justify-content-center">
|
|
<button class="btn btn-sm btn-success me-2" type="submit"><i class="fa-solid fa-floppy-disk me-1"></i>{{ _("Save") }}</button>
|
|
<a href="{{request.META.HTTP_REFERER}}" class="btn btn-sm btn-danger"><i class="fa-solid fa-ban me-1"></i>{% trans "Cancel" %}</a>
|
|
</div>
|
|
|
|
</form>
|
|
</div>
|
|
{% endblock content %} |