2013-01-25 16:28:32 +00:00
|
|
|
<p>
|
|
|
|
<b>User:</b>
|
|
|
|
<%= @card.user.name unless @card.user.blank? %>
|
|
|
|
</p>
|
2012-10-14 12:46:19 +00:00
|
|
|
|
|
|
|
<p>
|
2012-10-14 13:23:35 +00:00
|
|
|
<b>Card Note:</b>
|
2012-10-14 12:46:19 +00:00
|
|
|
<%= @card.name %>
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
<b>Card DB ID:</b>
|
|
|
|
<%= @card.id %>
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
<b>Card Number:</b>
|
|
|
|
<%= @card.card_number %>
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
<b>Card Permissions:</b>
|
|
|
|
<%= @card.card_permissions %>
|
|
|
|
</p>
|
|
|
|
|
2012-10-14 13:23:35 +00:00
|
|
|
<%= link_to 'Upload to Door', upload_path(@card) if can? :upload, @card %>
|
2013-01-25 16:28:32 +00:00
|
|
|
<% if can? :update, @card then %><%= link_to 'Edit', edit_card_path(@card) %> |<% end %>
|
2012-10-14 12:46:19 +00:00
|
|
|
<%= link_to 'Back', cards_path %>
|