Fix bug in receiving template when truck dump not enabled

This commit is contained in:
Lance Edgar 2018-11-21 23:03:07 -06:00
parent de788423e1
commit 4ad958b9d2

View file

@ -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')}