Fix template bug when master view has no "delete selected" feature
This commit is contained in:
parent
22c71d832e
commit
d67a2e60fe
|
@ -113,7 +113,7 @@
|
|||
% endif
|
||||
|
||||
## delete selected objects
|
||||
% if request.has_perm('{}.delete_set'.format(permission_prefix)):
|
||||
% if master.set_deletable and request.has_perm('{}.delete_set'.format(permission_prefix)):
|
||||
${h.form(url('{}.delete_set'.format(route_prefix)), name='delete-set')}
|
||||
${h.csrf_token(request)}
|
||||
${h.hidden('uuids')}
|
||||
|
|
Loading…
Reference in a new issue