User: <%= link_to @card.user.name, @card.user unless @card.user.blank? %>
Card Note: <%= @card.name %>
Card DB ID: <%= @card.id %>
Card Number: <%= @card.card_number %>
Card Permissions: <%= if @card.card_permissions == 1 then "Enabled" else "Disabled" end %>
<% if can? :read, DoorLog %>Access attempts: