Wrap logout button in form-group, was missing it when the button
was refactored to not require js.
main
Julian Lam 6 years ago
parent f0ffdf1092
commit 3598ffdb5b

@ -135,11 +135,13 @@
<li role="presentation" class="divider"></li> <li role="presentation" class="divider"></li>
<li component="user/logout"> <li component="user/logout">
<form method="post" action="{relative_path}/logout"> <form method="post" action="{relative_path}/logout">
<input type="hidden" name="_csrf" value="{config.csrf_token}"> <div class="form-group">
<input type="hidden" name="noscript" value="true"> <input type="hidden" name="_csrf" value="{config.csrf_token}">
<button type="submit" class="btn btn-link"> <input type="hidden" name="noscript" value="true">
<i class="fa fa-fw fa-sign-out"></i><span> [[global:logout]]</span> <button type="submit" class="btn btn-link">
</button> <i class="fa fa-fw fa-sign-out"></i><span> [[global:logout]]</span>
</button>
</div>
</form> </form>
</li> </li>
</ul> </ul>

Loading…
Cancel
Save