Rolling back comment changes

EmailTemplateFixes
Griffin Caprio 2015-02-27 07:08:26 -06:00
parent 81136d8ac3
commit c8b1a91875
1 changed files with 0 additions and 18 deletions

View File

@ -3,24 +3,6 @@ from django.utils.translation import ugettext as _
from json import dumps
@question_proc('comment')
def question_comment(request, question):
key = "question_%s" % question.number
key2 = "question_%s_comment" % question.number
val = request.POST.get(key, None)
cmt = request.POST.get(key2, '')
return {
'required': True,
'value': val,
'qvalue': '',
'hascomment': True,
'comment': cmt,
'template': 'questionnaire/comment.html',
}
@question_proc('choice-yesno', 'choice-yesnocomment', 'choice-yesnodontknow')
def question_yesno(request, question):
key = "question_%s" % question.number