refact design form Poste
[auf_rh_dae.git] / project / dae / models.py
index c7f19f0..c48ae74 100644 (file)
@@ -52,17 +52,20 @@ class Poste(models.Model):
     service = models.ForeignKey(rh.Service, related_name='+',
                                 verbose_name=u"Direction/Service/Pôle support")
     responsable = models.ForeignKey(rh.Poste, related_name='+',
-                                    verbose_name="Poste du responsable")
+                                verbose_name="Poste du responsable")
 
     regime_travail = models.DecimalField(max_digits=12, decimal_places=2,
-                                         default=100)
+                                default=100, 
+                                verbose_name="Temps de travail", 
+                                help_text="% du temps complet")
     regime_travail_nb_heure_semaine = models.DecimalField(max_digits=12,
-                                                          decimal_places=2,
-                                                          default=40)
+                                decimal_places=2,
+                                default=40,
+                                verbose_name="Nb. heures par semaine")
 
     # Recrutement
     statut_residence = models.CharField(max_length=10, default='MAD',
-                                        verbose_name="Recrutement",
+                                        verbose_name="Statut",
                                         choices=STATUT_RESIDENCE_CHOICES)
     # TODO null?
     mise_a_disposition = models.BooleanField()