haikal/templates/vendors/add_vendor.html
2024-12-08 14:07:50 +03:00

20 lines
598 B
HTML

{% extends 'base.html' %}
{% load i18n %}
{% block title %}{% trans "Add Supplier" %}{% endblock title %}
{% block content %}
<div class="container">
<h1>{% trans "Add Supplier" %}</h1>
<form method="post" class="form">
{% csrf_token %}
{% for field in form %}
<div class="form-floating mb-3">
{{ field }}
<label for="{{ field.id_for_label }}">{{ field.label }}</label>
</div>
{% endfor %}
<button class="btn btn-sm btn-success mt-3" type="submit">{% trans "Add" %}</button>
</form>
</div>
{% endblock %}