Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix admin UI regressions #11495

Merged
merged 2 commits into from
Apr 5, 2022
Merged

Fix admin UI regressions #11495

merged 2 commits into from
Apr 5, 2022

Conversation

Skrypt
Copy link
Contributor

@Skrypt Skrypt commented Apr 5, 2022

Fixes #11494

@Skrypt Skrypt requested a review from Piedone April 5, 2022 13:19
@Skrypt Skrypt merged commit 361dc89 into main Apr 5, 2022
@Skrypt Skrypt deleted the skrypt/#11494 branch April 5, 2022 14:00
@@ -1,9 +1,9 @@
@inject IAuthorizationService AuthorizationService
<div class="dropdown">
<form asp-route-area="OrchardCore.Users" asp-controller="Account" asp-action="LogOff" method="post" class="form-inline no-multisubmit">
<button type="button" class="ml-3 dropdown-toggle" id="navbarDropdown" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" data-toggle-tooltip="tooltip" title="@User.Identity.Name">
<button class="unset ml-3 dropdown-toggle" id="navbarDropdown" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" data-toggle-tooltip="tooltip" title="@User.Identity.Name">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While type doesn't seem to be required, it's good to include it. Also see: https://dev.to/clairecodes/why-its-important-to-give-your-html-button-a-type-58k9

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you are right. My mistake. I will create another PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Regressions from #11425
2 participants