Merge pull request #652 from FOSSBilling/fix/643-manage-email-template-fails

Fix #643 reset  email template fails
This commit is contained in:
Belle Aerni authored and GitHub committed 2023-01-02 15:34:59 -08:00
commit aaef35e241
1 file changed
+2 -2
@@ -80,7 +80,7 @@
<input type="submit" value="{{ 'Update'|trans }}" class="btn btn-primary w-100">
<a class="btn btn-danger w-25 api-link"
href="{{ 'api/admin/email/template_reset'|link }}?code={{ template.action_code}}, 'CSRFToken': CSRFToken"
href="{{ 'api/admin/email/template_reset'|link({'code' : template.action_code , 'CSRFToken': CSRFToken })}}"
data-api-confirm="{{ 'Are you sure?'|trans }}"
data-api-reload="1">
{{ 'Reset'|trans }}
@@ -264,4 +264,4 @@ $(function() {
});
});
</script>
{% endblock %}
{% endblock %}