Open-Source-Access-Control-.../app/views/cards/show.html.erb

25 lines
384 B
Plaintext

<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 %>
<%= link_to 'Edit', edit_card_path(@card) %> |
<%= link_to 'Back', cards_path %>