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

3 lines
188 B
HTML

{% 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 %}