Skip to content

Commit

Permalink
Fix reset and test
Browse files Browse the repository at this point in the history
  • Loading branch information
isuruf committed Oct 28, 2019
1 parent 706e7cc commit 01d441d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion course/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ def back_to_form(form, form_info):
process_form_fields(form_info.fields, request.POST)
form = CreateForm(form_info.fields)

if "clear" in request.POST:
if "reset" in request.POST:
return back_to_form(form, form_info)

page_source, file_out = form.get_jinja_text()
Expand Down

0 comments on commit 01d441d

Please sign in to comment.