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 component="user/logout">
<form method="post" action="{relative_path}/logout">
<input type="hidden" name="_csrf" value="{config.csrf_token}">
<input type="hidden" name="noscript" value="true">
<button type="submit" class="btn btn-link">
<i class="fa fa-fw fa-sign-out"></i><span> [[global:logout]]</span>
</button>
<div class="form-group">
<input type="hidden" name="_csrf" value="{config.csrf_token}">
<input type="hidden" name="noscript" value="true">
<button type="submit" class="btn btn-link">
<i class="fa fa-fw fa-sign-out"></i><span> [[global:logout]]</span>
</button>
</div>
</form>
</li>
</ul>

Loading…
Cancel
Save