This is a very small commit. All that I have done here is to clean up my code

a bit. I made it so that mediagoblin.user_pages.report recieves the report
form as part of it's context. I also made sure I used {% trans %} tags effect-
-ively.
This commit is contained in:
tilly-Q
2013-07-29 15:14:39 -04:00
parent 3aa3871b90
commit f26c21cd5b
6 changed files with 99 additions and 82 deletions

View File

@@ -107,7 +107,7 @@ def take_punitive_actions(request, form, report, user):
archive.result=form.resolution_content.data
# Session.add(archive)
Session.add(archive)
Session.commit()
if message_body:
send_email(