datentrog/template/new.tpl

12 lines
642 B
Smarty
Raw Normal View History

2021-11-10 16:20:35 +00:00
% rebase("template/toplevel.tpl", title="Neu erstellen")
2021-11-09 16:39:36 +00:00
<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>
2021-11-10 16:20:35 +00:00
<input id="event" class="form-control" placeholder="Heizhaus" name="event" value="{{ get("event", "") }}">
2021-11-09 16:39:36 +00:00
% 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>