Fix the link on the data-retention/edit.html

Adding new service_api_client methods to get data for the right amount of days.
This commit is contained in:
Rebecca Law
2018-07-19 17:09:52 +01:00
parent e89ae1d2ec
commit 0081a70d4b
2 changed files with 9 additions and 3 deletions

View File

@@ -40,7 +40,7 @@
{% call row() %}
{{ text_field(item.notification_type | format_notification_type)}}
{{ text_field(item.days_of_retention) }}
{{ edit_field('Change', url_for('.link_service_to_organisation', service_id=current_service.id)) }}
{{ edit_field('Change', url_for('.edit_data_retention', service_id=current_service.id, data_retention_id=item.id)) }}
{% endcall %}
{% endfor %}