{% extends "base.htm" %}
{% block title %}Modifica servizio • estus{% endblock %}
{% block content %}
      <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 %}
            <option value="{{ente.eid}}" {% if serv.eid == ente.eid %}selected="selected"{% endif %}>{{ente.nomeente}}</option>
          {% endfor %}
        </select>
        <input class="form-control" type="text" placeholder="Nome servizio" name="nomeservizio" value="{{serv.nomeservizio}}">
      <input class="form-control" type="text" placeholder="locazione" name="locazione" value="{{serv.locazione}}">
        <input class="btn btn-primary" type="submit">
      </form>
{% endblock %}