mirror of
https://github.com/Steffo99/estus.git
synced 2024-11-22 23:54:20 +00:00
16 lines
734 B
HTML
16 lines
734 B
HTML
{% extends "base.htm" %}
|
|
{% block title %}Modifica ente • estus{% endblock %}
|
|
{% block content %}
|
|
<h1>
|
|
{% if action == "add" %}
|
|
Crea ente
|
|
{% elif action == "show" %}
|
|
Modifica ente
|
|
{% endif %}
|
|
</h1>
|
|
<form class="form-inline" {% if ente %}action="/ente_show/{{ ente.eid }}"{% endif %} method="post">
|
|
<input class="form-control" type="text" placeholder="Nome ente" name="nomeente" {% if ente %}value="{{ ente.nomeente }}"{% endif %}>
|
|
<input class="form-control" type="text" placeholder="Nome breve" name="nomebreveente" {% if ente %}value="{{ ente.nomebreveente }}"{% endif %}>
|
|
<input class="btn btn-primary" type="submit">
|
|
</form>
|
|
{% endblock %}
|