Correction de texte
[auf_savoirs_en_partage_django.git] / auf_savoirs_en_partage_django / savoirs / forms.py
CommitLineData
544b4522
CR
1# -*- encoding: utf-8 -*-
2from django import forms
3
4class RechercheAvancee (forms.Form):
5 creator = forms.CharField (max_length=60, required=False, \
6 label = "Auteur ou contributeur") # + contributor
7 title = forms.CharField (max_length=100, required=False, \
8 label = "Titre") # + alt_title
9 description = forms.CharField (max_length=100, required=False, \
10 label = "Description ou résumé") # + abstract
11 subject = forms.CharField (max_length=100, required=False, label = "Sujet")
12 operator = forms.ChoiceField (choices = (('or', 'ou'), ('and', 'et')), label = "Operateur")
13 type = forms.CharField (initial='avancee', required=False, widget=forms.HiddenInput)
14
15