User: <%= @card.user.name unless @card.user.blank? %>

Card Note: <%= @card.name %>

Card DB ID: <%= @card.id %>

Card Number: <%= @card.card_number %>

Card Permissions: <%= @card.card_permissions %>

<%= link_to 'Upload to Door', upload_path(@card) if can? :upload, @card %> <% if can? :update, @card then %><%= link_to 'Edit', edit_card_path(@card) %> |<% end %> <%= link_to 'Back', cards_path %>