Fix service id bug in template. Use current_service instead

This commit is contained in:
Adam Shimali
2016-04-05 14:05:25 +01:00
parent eade0ef971
commit dc7964efd7
2 changed files with 1 additions and 2 deletions

View File

@@ -6,7 +6,7 @@
field_headings=['Template', 'Type', right_aligned_field_heading('Usage')]
) %}
{% call field() %}
<a href="{{ url_for('.edit_service_template', service_id=service_id, template_id=item.template.id) }}">
<a href="{{ url_for('.edit_service_template', service_id=current_service.id, template_id=item.template.id) }}">
{{ item.template.name }}
</a>
{% endcall %}