oshipka/vm_gen/templates/html/_action_create.html
2021-05-08 15:52:52 +02:00

3 lines
166 B
HTML

{% if has_permission('[[ name|camel_to_snake ]]', 'create', instance) %}
<a href="{{ url_for('create_[[ name|camel_to_snake ]]') }}">{{ _("Create") }}</a>
{% endif %}