mirror of
https://github.com/Steffo99/estus.git
synced 2024-11-22 07:34:19 +00:00
23 lines
1 KiB
HTML
23 lines
1 KiB
HTML
{% extends "base.htm" %}
|
|
{% block title %}Modifica servizio • estus{% endblock %}
|
|
{% block content %}
|
|
<div class="page-header">
|
|
<h1>
|
|
{% if action == "add" %}
|
|
Aggiungi servizio
|
|
{% elif action == "show" %}
|
|
Modifica servizio
|
|
{% endif %}
|
|
</h1>
|
|
</div>
|
|
<form class="form-inline" {% if serv %}action="/serv_show/{{serv.sid}}"{% endif %} method="post">
|
|
<select class="form-control" name="eid">
|
|
{% for ente in enti %}
|
|
<option value="{{ente.eid}}" {% if serv and serv.eid == ente.eid %}selected="selected"{% endif %}>{{ente.nomeente}}</option>
|
|
{% endfor %}
|
|
</select>
|
|
<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 %}
|