Hi, On 3/2/20 9:34 PM, Tim Chase wrote: > On 2020-03-02 18:35, Anna Sidwell wrote: >> Is there any particular reason why it shouldn't look like a button >> instead of a link? > > The concern isn't how it looks (with CSS you can make a button look > like a link, or make a link look like a button). > > An <a href="…"> does the logout action via a GET (and is the problem > at hand) while a <button>/<submit> does the logout action via the > form method and can be either a GET (which would still a problem) or a > POST (the goal). I think the question was if we want to retain the current link-like appearance on changing this to <button> / POST ;)
The reason I see for doing so is that it blends in with the other user-tools links (view site, change password). But I think Anna raises a good point. If someone can come up with a nice button-like design, why not? Maybe a button-like design would actually be a better UI here? -- René Fleschenberg -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/37bdb86c-fc9a-a4e8-0fa6-e82424805a03%40fleschenberg.net.
