1 # This file is part of FNP-Redakcja, licensed under GNU Affero GPLv3 or later.
2 # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
4 from django import forms
5 from django.utils.translation import gettext_lazy as _
6 from wiki.forms import DocumentTextSaveForm
7 from documents.models import Image
10 class ImageSaveForm(DocumentTextSaveForm):
11 """Form for saving document's text."""
13 stage_completed = forms.ModelChoiceField(
14 queryset=Image.tag_model.objects.all(),
16 label=_(u"Completed"),
17 help_text=_(u"If you completed a life cycle stage, select it."),