31 lines
976 B
HTML
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 %}
|