Minor UI tweaks

This commit is contained in:
2013-01-25 09:28:32 -07:00
parent 95374a8c1f
commit 0b6975a655
2 changed files with 7 additions and 4 deletions

View File

@@ -1,3 +1,7 @@
<p>
<b>User:</b>
<%= @card.user.name unless @card.user.blank? %>
</p>
<p>
<b>Card Note:</b>
@@ -20,5 +24,5 @@
</p>
<%= link_to 'Upload to Door', upload_path(@card) if can? :upload, @card %>
<%= link_to 'Edit', edit_card_path(@card) %> |
<% if can? :update, @card then %><%= link_to 'Edit', edit_card_path(@card) %> |<% end %>
<%= link_to 'Back', cards_path %>