2017-09-11 10:47:52 +00:00
|
|
|
{% extends "base.htm" %}
|
|
|
|
{% block title %}Modifica Servizio{% endblock %}
|
|
|
|
{% block content %}
|
2017-02-01 09:37:53 +00:00
|
|
|
<h1>
|
|
|
|
Modifica servizio
|
|
|
|
</h1>
|
|
|
|
<form class="form-inline" action="/serv_show/{{serv.sid}}" method="post">
|
|
|
|
<select class="form-control" name="eid" value="serv.eid">
|
|
|
|
{% for ente in enti %}
|
2017-02-02 08:33:54 +00:00
|
|
|
<option value="{{ente.eid}}" {% if serv.eid == ente.eid %}selected="selected"{% endif %}>{{ente.nomeente}}</option>
|
2017-02-01 09:37:53 +00:00
|
|
|
{% endfor %}
|
|
|
|
</select>
|
|
|
|
<input class="form-control" type="text" placeholder="Nome servizio" name="nomeservizio" value="{{serv.nomeservizio}}">
|
2017-09-11 13:56:42 +00:00
|
|
|
<input class="form-control" type="text" placeholder="locazione" name="locazione" value="{{serv.locazione}}">
|
2017-02-01 09:37:53 +00:00
|
|
|
<input class="btn btn-primary" type="submit">
|
|
|
|
</form>
|
2017-09-11 10:47:52 +00:00
|
|
|
{% endblock %}
|