a11yist/app/views/rodauth/logout.html.erb
david b88ac28c9b
Some checks failed
/ Run tests (push) Successful in 1m30s
/ Run system tests (push) Failing after 1m39s
/ Build, push and deploy image (push) Successful in 1m33s
(Small) (layout) improvements
2024-09-23 00:14:33 +02:00

14 lines
599 B
Text

<h1>Adieu</h1>
<%= form_with url: rodauth.logout_path, method: :post, data: { turbo: false } do |form| %>
<% if rodauth.features.include?(:active_sessions) %>
<div class="form-group mb-3">
<div class="form-check">
<%= form.check_box rodauth.global_logout_param, id: "global-logout", class: "form-check-input", include_hidden: false %>
<%= form.label "global-logout", rodauth.global_logout_label, class: "form-check-label" %>
</div>
</div>
<% end %>
<div class="form-group mb-3">
<%= form.submit "Log out", class: "btn btn-warning" %>
</div>
<% end %>