Refactor away the row_route_prefix concept

This commit is contained in:
Lance Edgar 2018-01-06 20:25:55 -06:00
parent 22b8643def
commit 85e6e7e08a
3 changed files with 22 additions and 28 deletions

View file

@ -8,5 +8,5 @@
${parent.body()}
% if master.mobile_rows_editable and instance_editable and request.has_perm('{}.edit_row'.format(permission_prefix)):
${h.link_to("Edit", url('mobile.{}.edit'.format(row_route_prefix), uuid=instance.uuid), class_='ui-btn')}
${h.link_to("Edit", url('mobile.{}.edit_row'.format(route_prefix), uuid=instance.uuid), class_='ui-btn')}
% endif