{% extends 'base.html' %}
{% load i18n %}

{% block title %}{% trans "Transfer Car"|capfirst %}{% endblock title %}
{% block content %}
<h1>{% trans "transfer car"|capfirst %}</h1>
<form method="post">
    {% csrf_token %}
    {% for field in form %}
        <div class="form-group">
            <label class="form-label" for="{{ field.id_for_label }}">{{ field.label }}</label>
            {{ field }}
            {% if field.errors %}
                <div class="alert alert-danger">
                    {{ field.errors }}
                </div>
            {% endif %}
            {% if field.help_text %}
                <small class="form-text text-muted">{{ field.help_text|safe }}</small>
            {% endif %}
        </div>
    {% endfor %}
    <button type="submit" class="btn btn-sm btn-primary">{% trans "transfer"|capfirst %}</button>
</form>
{% endblock %}


