{% extends "common/base.html" %}{% load i18n %}{% load static %}{% load jsplugins %} {% block title %} {% if pk %}{% trans "Edit the printing device" %}{% else %} {% trans "Add the printing device" %}{% endif %} {% endblock %} {% block breadcrumbs %} home_ico / {% trans "Printers" %} / {% if broken %} {% trans "Broken" %} / {% else %} {% trans "Reserve" %} / {% endif %} {% if pk %}{% trans "Edit the printing device" %}{% else %} {% trans "Add the printing device" %}{% endif %} {% endblock %} {% block jqueryui %} {% if pk %} {% else %} {% endif %} {% jsplugins 'noty' %} {% endblock %} {% block content %}
{% csrf_token %} {% for field in form.hidden_fields %} {{ field }} {% endfor %}
{{ form.name.label_tag }}
{{ form.prod_year.label_tag }}
{{ form.serial_number.label_tag }}
{{ form.inv_number.label_tag }}
{{ form.page_counter.label_tag }}
{{ form.responsible.label_tag }}
{{ form.price.label_tag }}
{{ form.guarantee.label_tag }}
{{ form.inventory_number2.label_tag }}
{{ form.supplier.label_tag }}
{{ form.pur_date.label_tag }}
{{ form.end_warranty.label_tag }}
{{ form.dns_name.label_tag }}
{{ form.ip.label_tag }}
{{ form.mac.label_tag }}
{% trans "Back" %}   {% if pk %} {% trans "Save" %} {% else %} {% trans "Add" %} {% endif %}
{% if pk %}{% else %}
{% include 'printer/add_session.html' with items=session_printers %}
{% endif %}
{% endblock %}