diff --git a/core/forms.py b/core/forms.py index 9e021e1..73721df 100644 --- a/core/forms.py +++ b/core/forms.py @@ -75,4 +75,5 @@ class RegisterUserForm(forms.ModelForm): class Meta: model = User # exclude = ['is_staff', 'is_active'] - fields = ['username', 'name', 'email', 'city', 'state', 'gender', 'cpf', 'birth_date', 'phone', 'image'] \ No newline at end of file + fields = ['username', 'name', 'email', 'city', 'state', 'gender', 'cpf', 'birth_date', 'phone', 'image', 'titration', + 'year_titration', 'institution', 'curriculum',] \ No newline at end of file diff --git a/core/templates/register_user.html b/core/templates/register_user.html index 33d1fd7..64677a5 100644 --- a/core/templates/register_user.html +++ b/core/templates/register_user.html @@ -59,9 +59,22 @@ + {% elif field.auto_id == 'id_curriculum' %} + {% render_field field class='form-control input-sm' %} +