diff --git a/tailbone/templates/receiving/view.mako b/tailbone/templates/receiving/view.mako index 95750bda..2204cd77 100644 --- a/tailbone/templates/receiving/view.mako +++ b/tailbone/templates/receiving/view.mako @@ -56,7 +56,7 @@ ${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.csrf_token(request)} ${h.hidden('row_uuid')}