Skip to content

Commit

Permalink
#5 Fixed organization form bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
jcaraballo17 committed Apr 17, 2017
1 parent a6533bc commit d249532
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dataloaderinterface/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def post(self, request, *args, **kwargs):
return HttpResponseRedirect(reverse('home'))
else:
messages.error(request, 'There were some errors in the form.')
return render(request, self.template_name, {'form': form})
return render(request, self.template_name, {'form': form, 'organization_form': OrganizationForm()})


class UserRegistrationView(CreateView):
Expand Down

0 comments on commit d249532

Please sign in to comment.