Fix bug in receiving template when truck dump not enabled
This commit is contained in:
parent
de788423e1
commit
4ad958b9d2
|
@ -56,7 +56,7 @@
|
||||||
|
|
||||||
${parent.body()}
|
${parent.body()}
|
||||||
|
|
||||||
% if request.has_perm('{}.edit_row'.format(permission_prefix)):
|
% if master.allow_truck_dump and request.has_perm('{}.edit_row'.format(permission_prefix)):
|
||||||
${h.form(url('{}.transform_unit_row'.format(route_prefix), uuid=batch.uuid), name='transform-unit-form')}
|
${h.form(url('{}.transform_unit_row'.format(route_prefix), uuid=batch.uuid), name='transform-unit-form')}
|
||||||
${h.csrf_token(request)}
|
${h.csrf_token(request)}
|
||||||
${h.hidden('row_uuid')}
|
${h.hidden('row_uuid')}
|
||||||
|
|
Loading…
Reference in a new issue