oshipka/vm_gen/templates/html/_action_edit.html

3 lines
188 B
HTML
Raw Normal View History

2021-05-08 15:52:52 +02:00
{% if has_permission('[[ name|camel_to_snake ]]', 'update', instance) %}
<a href="{{ url_for('update_[[ name|camel_to_snake ]]', uuid=instance.id, _next=request.path) }}">e</a>
{% endif %}