diff --git a/rowers/forms.py b/rowers/forms.py index 3c3cef2d..c0ee89fd 100644 --- a/rowers/forms.py +++ b/rowers/forms.py @@ -578,6 +578,12 @@ class RegistrationForm(UserCreationForm): model = User fields = ("username", "first_name", "last_name", "email", "password1", "password2") + widgets = { + 'username': forms.TextInput(attrs={'autocomplete':'new-password'}), + 'password1': forms.PasswordInput(attrs={'autocomplete':'new-password'}), + 'password2': forms.PasswordInput(attrs={'autocomplete':'new-password'}), + } + class RegistrationFormTermsOfService(RegistrationForm): """ Subclass of ``RegistrationForm`` which adds a required checkbox diff --git a/rowers/templates/freecoach_registration_form.html b/rowers/templates/freecoach_registration_form.html index b747e2b0..d28ca581 100644 --- a/rowers/templates/freecoach_registration_form.html +++ b/rowers/templates/freecoach_registration_form.html @@ -10,7 +10,11 @@
+ This form is for registration as a coach. + Click here to register as a rower. +
Also, we are restricting access to the site to 16 years and older because of EU data protection regulations.
-Click here and fill out the form to start with a free Coach plan. This allows you - to manage up to 10 athletes (who have to be on the Pro plan). You cannot upload your own - workouts. -
-- From this free plan, you can upgrade to any of the paid plans, including coach plans for larger - athlete groups or rower plans for managing your own training plan and workouts. -
- -Click here and fill out the form to start with a free Athlete plan. This allows you - to store and analyze your own workouts. -
-- From this free plan, you can upgrade to any of the paid plans, including - coach plans for managing larger athlete groups or rower plans for expanded - analytics. -
- -+ This form is for registration as a rower. + Click here to register as a coach. +
Also, we are restricting access to the site to 16 years and older because of EU data protection regulations.
-Click here and fill out the form to start with a free Coach plan. This allows you - to manage up to 10 athletes (who have to be on the Pro plan). You cannot upload your own - workouts. -
-- From this free plan, you can upgrade to any of the paid plans, including coach plans for larger - athlete groups or rower plans for managing your own training plan and workouts. -
- -Click here and fill out the form to start with a free Athlete plan. This allows you - to store and analyze your own workouts. -
-- From this free plan, you can upgrade to any of the paid plans, including - coach plans for managing larger athlete groups or rower plans for expanded - analytics. -
- -