1 # -*- coding: utf-8 -*-
3 # This file is part of FNP-Redakcja, licensed under GNU Affero GPLv3 or later.
4 # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
6 from django import forms
7 from django.utils.translation import ugettext_lazy as _
8 from wiki.forms import DocumentTextSaveForm
9 from catalogue.models import Image
12 class ImageSaveForm(DocumentTextSaveForm):
13 """Form for saving document's text."""
15 stage_completed = forms.ModelChoiceField(
16 queryset=Image.tag_model.objects.all(),
18 label=_(u"Completed"),
19 help_text=_(u"If you completed a life cycle stage, select it."),