oshipka/vm_gen/templates/html/_action_create.html

3 lines
166 B
HTML
Raw Normal View History

2021-05-08 15:52:52 +02:00
{% if has_permission('[[ name|camel_to_snake ]]', 'create', instance) %}
<a href="{{ url_for('create_[[ name|camel_to_snake ]]') }}">{{ _("Create") }}</a>
{% endif %}