1
Fork 0
mirror of https://github.com/Steffo99/estus.git synced 2024-11-25 09:04:18 +00:00
estus/templates/servizio/show.htm

24 lines
1 KiB
HTML
Raw Normal View History

{% extends "base.htm" %}
2017-09-13 06:41:07 +00:00
{% block title %}Modifica servizio • estus{% endblock %}
{% block content %}
2017-09-20 10:01:07 +00:00
<div class="page-header">
<h1>
2017-09-18 14:35:42 +00:00
{% if action == "add" %}
Aggiungi servizio
{% elif action == "show" %}
Modifica servizio
{% endif %}
</h1>
2017-09-20 10:01:07 +00:00
</div>
2017-09-18 14:35:42 +00:00
<form class="form-inline" {% if serv %}action="/serv_show/{{serv.sid}}"{% endif %} method="post">
<select class="form-control" name="eid">
{% for ente in enti %}
2017-09-18 14:35:42 +00:00
<option value="{{ente.eid}}" {% if serv and serv.eid == ente.eid %}selected="selected"{% endif %}>{{ente.nomeente}}</option>
{% endfor %}
</select>
2017-09-18 14:35:42 +00:00
<input class="form-control" type="text" placeholder="Nome servizio" name="nomeservizio" {% if serv %}value="{{serv.nomeservizio}}"{% endif %}>
<input class="form-control" type="text" placeholder="locazione" name="locazione" {% if serv %}value="{{serv.locazione}}"{% endif %}>
<input class="btn btn-primary" type="submit">
</form>
{% endblock %}