Sha256: 30d02b51a1cc30d9b31a9d234516141132433b0be41f178780da00db5266beff

Contents?: true

Size: 604 Bytes

Versions: 6

Compression:

Stored size: 604 Bytes

Contents

<p style="color: green"><%%= notice %></p>

<h1>Sessions</h1>

<div id="sessions">
  <%% @sessions.each do |session| %>
    <div id="<%%= dom_id session %>">
      <p>
        <strong>User Agent:</strong>
        <%%= session.user_agent %>
      </p>

      <p>
        <strong>Ip Address:</strong>
        <%%= session.ip_address %>
      </p>

      <p>
        <strong>Created at:</strong>
        <%%= session.created_at %>
      </p>

    </div>
    <p>
      <%%= button_to "Log out", session, method: :delete %>
    </p>
  <%% end %>
</div>

<br>

<div>
  <%%= link_to "Back", root_path %>
</div>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
authentication-zero-2.2.3 lib/generators/authentication/templates/erb/sessions/index.html.erb.tt
authentication-zero-2.2.2 lib/generators/authentication/templates/erb/sessions/index.html.erb.tt
authentication-zero-2.2.1 lib/generators/authentication/templates/erb/sessions/index.html.erb.tt
authentication-zero-2.1.1 lib/generators/authentication/templates/erb/sessions/index.html.erb.tt
authentication-zero-2.1.0 lib/generators/authentication/templates/erb/sessions/index.html.erb.tt
authentication-zero-2.0.0 lib/generators/authentication/templates/erb/sessions/index.html.erb.tt