datentrog/template/new.tpl
2021-11-10 17:20:35 +01:00

12 lines
642 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">Veranstaltungsort:</label>
<input id="event" class="form-control" placeholder="Heizhaus" 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>