datentrog/template/new.tpl
2021-11-09 17:39:36 +01:00

12 lines
640 B
Smarty

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