Refactor away the row_route_prefix
concept
This commit is contained in:
parent
22b8643def
commit
85e6e7e08a
3 changed files with 22 additions and 28 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue