final final final final final version (version 1.5)
This commit is contained in:
@@ -7,10 +7,11 @@
|
||||
{% load static %}
|
||||
{% block content %}
|
||||
{% if user.is_authenticated %}
|
||||
{% if bundle.product_type == "Computer" %}
|
||||
<a href="/import/serials" class="pure-button pure-button-primary add-button">Importa Computer</a>
|
||||
{% endif %}
|
||||
|
||||
<div class="detail-content">
|
||||
{% if bundle.product_type == "Computer" %}
|
||||
<a href="/import/serials" class="pure-button pure-button-primary add-button">Importa Computer</a>
|
||||
{% endif %}
|
||||
<table class="pure-table pure-table-horizontal width-100">
|
||||
<thead>
|
||||
<tr>
|
||||
|
||||
@@ -12,16 +12,16 @@
|
||||
<p>{{ err_str }}</p>
|
||||
</div>
|
||||
{% endif %}
|
||||
<h3>Stai modificando: </h3>
|
||||
<h3>Stai modificando lo studente {{ id }}:</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>
|
||||
</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 %}
|
||||
|
||||
Reference in New Issue
Block a user