Hi.

Suggestions of another solutions are appreciated.

Thanks!

воскресенье, 14 февраля 2016 г., 14:04:46 UTC+2 пользователь Sasha Gaevsky 
написал:
>
> Hi.
>
> As noted in the ticket, there's a styling issue in the admin when password 
> validators enabled, they are not properly aligned:
>
>
>
> <https://lh3.googleusercontent.com/-sRAMOBG9HE0/VsBqY0XbbEI/AAAAAAAAAAM/VZnTExtbga4/s1600/add-user-password-help-text-misaligned.png>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> The root cause of this because validators help text is a list <ul> and 
> it's placed inside of paragraph tag <p> which is not allowed:
>
> <p class="help">{{ form.password2.help_text|safe }}</p>
>
> Both of  Chrome and FF removes list out of <p> tag. Thus, I my initial 
> solution was just to replace <p> tag with span.
> However, how fairly mentioned Tim, this would be quite unsuitable for 
> those, who already customized admin templates.
>
> Another idea was to output password validation help text not in in <ul> 
> list.
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/025e43da-1141-4cfd-9878-4926a3a11d20%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to