fix bug where create button would be hidden in editor

This commit is contained in:
Laura Klünder 2018-12-09 03:14:13 +01:00
parent 4ec2a7bb8b
commit 200099e9de

View file

@ -16,7 +16,7 @@
{% endif %}
</h3>
{% bootstrap_messages %}
{% if can_create_level %}
{% if can_create %}
<a class="btn btn-default btn-xs" accesskey="n" href="{{ create_url }}">
<i class="glyphicon glyphicon-plus"></i> {% blocktrans %}New {{ model_title }}{% endblocktrans %}
</a>