{% extends 'layout_forms.html' %} {% load static %} {% load widget_tweaks %} {% load template_math %} {% block content %} {% if form.errors %} {% for field in form %} {% for error in field.errors %}

{{ errors }}

{% endfor %} {% endfor %} {% for error in form.non_field_errors %}

{{ error }}

{% endfor %} {% endif %}
{% csrf_token %}
newLoc
curLoc
Car Switch Last Save: {{ lastsave }}
Current Owner: {{ owner }}
Filter:
newLoc
curLoc
Car
Receiver
Item
cp Date
os Date
{{ form.management_form }}
{% for theform in form %}
{% if forloop.first %} {% render_field theform.nloc data-car=theform.instance.car_id class+="textinput textInput form-control form-control-sm mr-2 mksch" data-counter=forloop.counter0 tabindex=forloop.counter0|mul:1|add:1 autofocus="autofocus" %} {% else %} {% render_field theform.nloc data-car=theform.instance.car_id class+="textinput textInput form-control form-control-sm mr-2 mksch" data-counter=forloop.counter0 tabindex=forloop.counter0|mul:1|add:1 %} {% endif %}
{{ theform.instance.cloc_id }}
{{ theform.instance.car_id }}
{% render_field theform.cp_date data-car=theform.instance.car_id class+="dateinput form-control form-control-sm mr-2" data-counter=forloop.counter0 data-min-date="30" data-max-date="0" data-out-range="show error" readonly="readonly" %}
{% render_field theform.os_date data-car=theform.instance.car_id class+="dateinput form-control form-control-sm mr-2" data-counter=forloop.counter0 readonly="readonly" tabindex="-1" %}
{% render_field theform.change data-car=theform.instance.car_id data-counter=forloop.counter style="display:none;" %}{{ theform.id }}
{% endfor %}
{% endblock content %} {% block body_scripts %} {{ block.super }}