<input type="password"
                                   id="id_password"
                                   name="password1"
                                   value="{{ form.password1.value|default:'' }}"
                                   class="px-4 py-2 w-full transition duration-300 border border-gray-300 rounded focus:border-transparent focus:outline-none focus:ring-4 focus:ring-red-200" />
                            <button type="button"
                                    id="togglePassword"
    