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/edit/editstudent.html
2024-10-09 21:10:49 +02:00

28 lines
922 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>{{ err_str }}</p>
</div>
{% endif %}
<h3>Stai modificando: </h3>
<form action="/edit/student/{{ id }}" method="post" enctype="multipart/form-data" class="pure-form pure-form-2 pure-form-stacked">
{% csrf_token %}
<div class="from-content width-100">
{{ form }}
</div>
<div class="form-buttons">
<button type="submit" class="pure-button pure-button-primary">Modifica</button>
<button type="reset" class="pure-button button-warning">Reset</button>
</div>
</form>
{% endif %}
{% endblock %}