Browse Source

Reformatação

pull/261/head
Eduardo Calil 9 years ago
committed by Marcio Mazza
parent
commit
56551af981
  1. 7
      protocoloadm/forms.py

7
protocoloadm/forms.py

@ -128,10 +128,9 @@ class AnularProcoloAdmForm(ModelForm):
get_field('ano').verbose_name, get_field('ano').verbose_name,
choices=RANGE_ANOS, choices=RANGE_ANOS,
widget=forms.Select(attrs={'class': 'selector'})) widget=forms.Select(attrs={'class': 'selector'}))
justificativa_anulacao = forms.CharField(required=True, justificativa_anulacao = forms.CharField(
label=Protocolo._meta. required=True,
get_field('justificativa_anulacao' label=Protocolo._meta.get_field('justificativa_anulacao').verbose_name,
).verbose_name,
widget=forms.Textarea) widget=forms.Textarea)
def clean(self): def clean(self):

Loading…
Cancel
Save