Sha256: 91ce58784d253635b0451f35c9636e5e3076ad3844d2509cd7394fd25e12e0b6

Contents?: true

Size: 627 Bytes

Versions: 10

Compression:

Stored size: 627 Bytes

Contents

<% content_for :title, rodauth.logout_page_title %>

<%= 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" %>
        <%= form.label "global-logout", rodauth.global_logout_label, class: "form-check-label" %>
      </div>
    </div>
  <% end %>

  <div class="form-group mb-3">
    <%= form.submit rodauth.logout_button, class: "btn btn-warning" %>
  </div>
<% end %>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
rodauth-rails-1.4.2 lib/generators/rodauth/templates/app/views/rodauth/logout.html.erb
rodauth-rails-1.4.1 lib/generators/rodauth/templates/app/views/rodauth/logout.html.erb
rodauth-rails-1.4.0 lib/generators/rodauth/templates/app/views/rodauth/logout.html.erb
rodauth-rails-1.3.1 lib/generators/rodauth/templates/app/views/rodauth/logout.html.erb
rodauth-rails-1.3.0 lib/generators/rodauth/templates/app/views/rodauth/logout.html.erb
rodauth-rails-1.2.2 lib/generators/rodauth/templates/app/views/rodauth/logout.html.erb
rodauth-rails-1.2.1 lib/generators/rodauth/templates/app/views/rodauth/logout.html.erb
rodauth-rails-1.2.0 lib/generators/rodauth/templates/app/views/rodauth/logout.html.erb
rodauth-rails-1.1.0 lib/generators/rodauth/templates/app/views/rodauth/logout.html.erb
rodauth-rails-1.0.0 lib/generators/rodauth/templates/app/views/rodauth/logout.html.erb