This repository has been archived on 2025-04-28. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
GestionaleITSPy/GestionaleITS/gestionale/templates/gestionale/add/addbundle.html
2024-10-09 21:10:49 +02:00

31 lines
976 B
HTML

<!-- Copyright (C) 2024 Nastro_ -->
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at https://mozilla.org/MPL/2.0/. -->
{% extends "gestionale/base.html" %}
{% load static %}
{% block content %}
{% if user.is_authenticated %}
{% if err == True %}
<div>
<p>L'inserimento è incompleto o errato!<p>
</div>
{% endif %}
<h3>Stai aggiungendo un bundle</h3>
<form action="/add/bundle" method="post" class="pure-form pure-form-2 pure-form-stacked">
{% csrf_token %}
<div class="form-content width-100">
{{ form }}
</div>
<br>
<div class="form-buttons">
<button type="submit" class="pure-button pure-button-primary">Aggiungi</button>
<button type="reset" class="pure-button button-warning">Reset</button>
</div>
</form>
<script src="{% static 'js/toggleFields.js' %}"></script>
{% endif %}
{% endblock %}