Skip to content
Snippets Groups Projects
Commit 22a278c0 authored by Todd Dembrey's avatar Todd Dembrey
Browse files

fixup! Improve how the score and comment block renders

parent 1b0e2aad
No related branches found
No related tags found
No related merge requests found
......@@ -23,7 +23,6 @@ class ScoreFieldBlock(OptionalFormFieldBlock):
def render(self, value, context=None):
comment, score = json.loads(context['data'])
label = value['field_label']
context.update(**{
'comment': comment,
'score': RATE_CHOICES_DICT.get(int(score), RATE_CHOICE_NA)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment