Commit 2103fa58 authored by Kostas Papadimitriou's avatar Kostas Papadimitriou
Browse files

Astakos feedback form fixes

- Include uuid in email
- Response redirect after on successful form submission
parent fa6cd26d
Feedback message:
{{ message|safe }}
{{ message }}
User info:
ID: {{ user.id }}
Email: {{ user.username }}
UUID: {{ user.uuid }}
Email: {{ user.email }}
User application data:
{{ data|safe }}
{{ data }}
......@@ -614,6 +614,7 @@ def feedback(request, template_name='im/feedback.html', email_template_name='im/
else:
message = _(astakos_messages.FEEDBACK_SENT)
messages.success(request, message)
return HttpResponseRedirect(reverse('feedback'))
return render_response(template_name,
feedback_form=form,
context_instance=get_context(request, extra_context))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment