datentrog/template/new.tpl

12 lines
640 B
Smarty
Raw Normal View History

2021-11-09 16:39:36 +00:00
% rebase('template/toplevel.tpl', title='Neu erstellen')
<form method="post">
<div class="form-group {{ ("has-success" if get("event", False) else "has-error") + " has-feedback" if get("feedback", False) else "" }}">
<label for="event">Veranstaltung:</label>
<input id="event" class="form-control" placeholder="Kunstrasen" name="event" value="{{ get("event", "") }}">
% if get("feedback", False):
<span class="glyphicon {{ "glyphicon-ok" if get("event", False) else "glyphicon-remove" }} form-control-feedback"></span>
% end
</div>
<button type="submit" class="btn btn-success">Formular erstellen</button>
</form>