Skip to content

Commit 2bf3fd3

Browse files
committed
Fix: signatures target was never saved for Petition Templates
1 parent c0a39a1 commit 2bf3fd3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pytition/petition/views.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -637,6 +637,7 @@ def edit_template(request, template_id):
637637
content_form = ContentFormTemplate(request.POST)
638638
submitted_ctx['content_form_submitted'] = True
639639
if content_form.is_valid():
640+
template.target = content_form.cleaned_data['target']
640641
template.name = content_form.cleaned_data['name']
641642
template.text = content_form.cleaned_data['text']
642643
template.side_text = content_form.cleaned_data['side_text']

0 commit comments

Comments
 (0)