1
Fork 0
mirror of https://github.com/Steffo99/estus.git synced 2024-11-29 02:34:20 +00:00
estus/templates/ordine/show.htm

44 lines
2.1 KiB
HTML
Raw Normal View History

2017-09-19 07:36:39 +00:00
{% extends "base.htm" %}
{% block title %}Modifica ordine • estus{% endblock %}
{% block content %}
2017-09-20 10:01:07 +00:00
<div class="page-header">
<h1>
{% if action == "add" %}
Crea ordine
{% elif action == "show" %}
Modifica ordine
{% endif %}
</h1>
</div>
2017-09-19 07:36:39 +00:00
<div class="alert alert-warning">
Il campo data non è ancora <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1366188">correttamente supportato da Firefox</a>, Internet Explorer 11 e probabilmente altri browser. Se il calendario non viene fuori, inserite le date nel formato AAAA-MM-GG.
2017-09-19 07:36:39 +00:00
</div>
2017-09-21 07:29:49 +00:00
<form class="form-horizontal" method="post">
<div class="form-group">
<label class="col-xs-2" for="form-tipo">Data di acquisto</label>
<div class="col-xs-10">
<input class="form-control" type="date" placeholder="yyyy-mm-dd" pattern="[0-9]{4}-[0-9]{2}-[0-9]{2}" name="data" {% if order %}value="{{ order.data }}"{% endif %}>
</div>
</div>
<div class="form-group">
<label class="col-xs-2" for="form-tipo">Fornitore</label>
<div class="col-xs-10">
<input class="form-control" type="text" placeholder="Fornitore" name="fornitore" {% if order %} value="{{ order.fornitore }}" {% endif %}>
</div>
</div>
<div class="form-group">
<label class="col-xs-2" for="form-tipo">Numero ordine</label>
<div class="col-xs-10">
<input class="form-control" type="text" placeholder="Numero ordine" name="numero_ordine" {% if order %}value="{{ order.numero_ordine }}"{% endif %}>
</div>
</div>
<div class="form-group">
<label class="col-xs-2" for="form-tipo">Data scadenza garanzia</label>
<div class="col-xs-10">
<input class="form-control" type="date" placeholder="yyyy-mm-dd" pattern="[0-9]{4}-[0-9]{2}-[0-9]{2}" name="garanzia" {% if order %}value="{{ order.garanzia }}"{% endif %}>
</div>
</div>
<input class="btn btn-primary" type="submit" value="Salva">
2017-09-19 07:36:39 +00:00
</form>
{% endblock %}