Minor UI tweaks
This commit is contained in:
parent
95374a8c1f
commit
0b6975a655
|
@ -1,3 +1,7 @@
|
||||||
|
<p>
|
||||||
|
<b>User:</b>
|
||||||
|
<%= @card.user.name unless @card.user.blank? %>
|
||||||
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<b>Card Note:</b>
|
<b>Card Note:</b>
|
||||||
|
@ -20,5 +24,5 @@
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<%= link_to 'Upload to Door', upload_path(@card) if can? :upload, @card %>
|
<%= 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 %>
|
<%= link_to 'Back', cards_path %>
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
<h1>Listing User Certifications</h1>
|
<h1>Listing User Certifications</h1>
|
||||||
|
|
||||||
|
<%= link_to 'New User Certification', new_user_certification_path %>
|
||||||
|
|
||||||
<dl>
|
<dl>
|
||||||
<% @grouped_user_certs.sort.each do |user, user_certifications| %>
|
<% @grouped_user_certs.sort.each do |user, user_certifications| %>
|
||||||
<dt><%= user %></dt>
|
<dt><%= user %></dt>
|
||||||
|
@ -13,6 +15,3 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
</dl>
|
</dl>
|
||||||
|
|
||||||
<br />
|
|
||||||
|
|
||||||
<%= link_to 'New User Certification', new_user_certification_path %>
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user