X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/f48c55901118787ceafe9c0e1f34e780d9bfe7fe..d5011c4876bdae561f396c64cac6503ad51d5fa5:/apps/catalogue/views.py?ds=sidebyside diff --git a/apps/catalogue/views.py b/apps/catalogue/views.py index 18682ebe..81de5ac7 100644 --- a/apps/catalogue/views.py +++ b/apps/catalogue/views.py @@ -356,14 +356,14 @@ def chunk_add(request, slug, chunk): creator = None doc.split(creator=creator, slug=form.cleaned_data['slug'], - comment=form.cleaned_data['comment'], + title=form.cleaned_data['title'], ) return http.HttpResponseRedirect(doc.book.get_absolute_url()) else: form = forms.ChunkAddForm(initial={ "slug": str(doc.number + 1), - "comment": "cz. %d" % (doc.number + 1, ), + "title": "cz. %d" % (doc.number + 1, ), }) return direct_to_template(request, "catalogue/chunk_add.html", extra_context={