<% if current_user %> <% timeout_time_seconds = Devise.timeout_in.to_i %>

<%= t(".title") %>

<%= t(".body", minutes: (timeout_time_seconds / 60) - 2) %>

<%= link_to t(".sign_out"), decidim.destroy_user_session_path, method: :delete, class: "button warning" %> <%= link_to "", decidim.destroy_user_session_path(translation_suffix: :timed_out), method: :delete, id: "reveal-hidden-sign-out", class: "hide" %> <%= button_to t(".continue_session"), decidim.heartbeat_path, id: "continueSession", class: "button primary", remote: true, method: :post %>
<% end %>