mirror of
https://github.com/Steffo99/estus.git
synced 2024-11-25 09:04:18 +00:00
27 lines
1.3 KiB
HTML
27 lines
1.3 KiB
HTML
{% extends "base.htm" %}
|
|
{% block title %}Modifica impiegato • estus{% endblock %}
|
|
{% block content %}
|
|
<div class="page-header">
|
|
<h1>
|
|
{% if action == "add" %}
|
|
Crea impiegato
|
|
{% elif action == "show" %}
|
|
Modifica impiegato
|
|
{% endif %}
|
|
</h1>
|
|
</div>
|
|
<form class="form-inline" method="post">
|
|
<select class="form-control" name="sid">
|
|
{% for servizio in servizi %}
|
|
<option value="{{ servizio.sid }}"
|
|
{% if imp and imp.sid == servizio.sid %}selected="selected"{% endif %}>{{ servizio.ente.nomebreveente }}
|
|
- {{ servizio.nomeservizio }}</option>
|
|
{% endfor %}
|
|
</select>
|
|
<input class="form-control" type="text" placeholder="Nome e cognome" name="nomeimpiegato"
|
|
{% if imp %}value="{{ imp.nomeimpiegato }}{% endif %}">
|
|
<input class="form-control" type="text" placeholder="Nome utente" name="username" {% if imp %}value="{{ imp.username }}"{% endif %}>
|
|
<input class="form-control" type="text" placeholder="Password" name="passwd" {% if imp %}value="{{ imp.passwd }}"{% endif %}>
|
|
<input class="btn btn-primary" type="submit">
|
|
</form>
|
|
{% endblock %}
|