29 lines
500 B
Plaintext
29 lines
500 B
Plaintext
<p>
|
|
<b>User:</b>
|
|
<%= @card.user.name unless @card.user.blank? %>
|
|
</p>
|
|
|
|
<p>
|
|
<b>Card Note:</b>
|
|
<%= @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>
|
|
|
|
<%= 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 %>
|