1
Fork 0
mirror of https://github.com/Steffo99/estus.git synced 2024-11-29 02:34:20 +00:00
estus/templates/ente/show.htm
2017-09-18 16:41:32 +02:00

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 %}