Project for the UPV to develop an app like BlaBlaCar but only for UPV people.
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

minor changes

+3 -3
+1 -1
upvcarshare/templates/users/sign_in.html
··· 15 15 <form method="post" action=""> 16 16 {% csrf_token %} 17 17 {% for field in form %} 18 - <div class="form-group row{% if field.errors %} has-error{% endif %}"> 18 + <div class="form-group row{% if field.errors %} has-danger{% endif %}"> 19 19 <label for="{{ field.auto_id }}" class="col-sm-2 form-control-label">{{ field.label }}</label> 20 20 <div class="col-sm-10"> 21 21 {{ field }}
+2 -2
upvcarshare/users/forms.py
··· 43 43 try: 44 44 user = User.objects.get(username=username) 45 45 if not user.check_password(password): 46 - raise forms.ValidationError(_("Password incorrect")) 46 + raise forms.ValidationError(_("La contraseña no es correcta")) 47 47 except User.DoesNotExist: 48 48 pass 49 49 return password ··· 53 53 """Form to edit information of the user.""" 54 54 55 55 default_position = floppyforms.gis.PointField( 56 - label=_(""), 56 + label=_("Posicion por defecto"), 57 57 widget=GMapsPointWidget(), 58 58 srid=3857, 59 59 required=False