old_contents: # -*- coding: utf-8 -*-
  from django import forms
  from django.forms import Form
  
  from ajax_select import make_ajax_field
  
  from statistics import Statistic
  
  
  class StatForm(Form):
      display_or_export = forms.BooleanField(label=u'Exporter dans un fichier', required=False, localize=True)
      start_date = forms.DateField(label=u'Date de début', required=False, localize=True)
      end_date = forms.DateField(label=u'Date de fin', required=False, localize=True)
      patients = make_ajax_field(Statistic, 'patients', 'patientrecord', True)
      participants = make_ajax_field(Statistic, 'participants', 'worker-or-group', True)
  
  class ActivePatientsForm(Form):
      display_or_export = forms.BooleanField(label=u'Exporter dans un fichier', required=False, localize=True)
      start_date = forms.DateField(label=u'Date de début', required=False, localize=True)
      end_date = forms.DateField(label=u'Date de fin', required=False, localize=True)
  
  class AnnualActivityForm(Form):
      display_or_export = forms.BooleanField(label=u'Exporter dans un fichier', required=False, localize=True)
      start_date = forms.DateField(label=u"Date de l'année souhaitée", required=False, localize=True)
      participants = make_ajax_field(Statistic, 'participants', 'worker-or-group', True,
          help_text="Ne choisir aucun participant pour le tableau de synthèse générale.")
  
new_contents: # -*- coding: utf-8 -*-
  from django import forms
  from django.forms import Form
  
  from ajax_select import make_ajax_field
  
  from statistics import Statistic
  
  
  class StatForm(Form):
      display_or_export = forms.BooleanField(label=u'Exporter dans un fichier', required=False, localize=True)
      start_date = forms.DateField(label=u'Date de début', required=False, localize=True)
      end_date = forms.DateField(label=u'Date de fin', required=False, localize=True)
      patients = make_ajax_field(Statistic, 'patients', 'patientrecord', True)
      participants = make_ajax_field(Statistic, 'participants', 'worker-or-group', True)
  
  class ActivePatientsForm(Form):
      display_or_export = forms.BooleanField(label=u'Exporter dans un fichier', required=False, localize=True)
      start_date = forms.DateField(label=u'Date de début', required=False, localize=True)
      end_date = forms.DateField(label=u'Date de fin', required=False, localize=True)
  
  class AnnualActivityForm(Form):
      display_or_export = forms.BooleanField(label=u'Exporter dans un fichier', required=False, localize=True)
      start_date = forms.DateField(label=u"Date de l'année souhaitée", required=False, localize=True)
      participants = make_ajax_field(Statistic, 'participants', 'worker-or-group', True)
  
subject: remove useless helptext in annual activity form.