{% extends "base.html" %}
{% load crispy_forms_filters %}
{% load i18n static %}

{% block title %}{{ _("Create Quotation") }}{% endblock title %}

{% block content %}
<div class="container mt-4">
    <h3 class="text-center">{% trans "Create Quotation" %}</h3>
    <form method="post" class="needs-validation" novalidate>
        {% csrf_token %}
        <div class="row g-3">
            {{ form|crispy }}
        </div>

        <!-- Buttons -->
        <div class="mt-4 text-center">
            <button type="submit" class="btn btn-success me-2">{% trans "Save" %}</button>
            <a href="{% url 'quotation_list' %}" class="btn btn-secondary">{% trans "Cancel" %}</a>
        </div>
    </form>
</div>
{% endblock %}