Skip to content
Snippets Groups Projects
Commit 9213df56 authored by Julian Rother's avatar Julian Rother
Browse files

Closes #121

parent a2b92ba1
Branches
No related tags found
Loading
......@@ -9,7 +9,8 @@
</li>
{% if ismod() %}
<li>
<a class="btn btn-default" href="{{ url_for('create', table='courses', handle='new'+(randint(0,1000)|string), title='Neue Veranstaltung', responsible=session.user.givenName, ref=request.url) }}">Neue Veranstaltung</a>
{% set newhandle = 'new'+(randint(0,1000)|string) %}
<a class="btn btn-default" href="{{ url_for('create', table='courses', handle=newhandle, title='Neue Veranstaltung', responsible=session.user.givenName, ref=url_for('course', handle=newhandle)) }}">Neue Veranstaltung</a>
</li>
{% endif %}
<li class="dropdown" style="padding-right: 0px">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment