admin global nav

This commit is contained in:
Mark Moser committed 2016-09-22 16:29:19 -05:00
1 parent aeef75bf8b
commit 5398a8ea8b
14 files changed
+64 -67

No files matched your search

+4 -3
View File
@@ -1,9 +1,10 @@
<%
content_for :section_title, "Candidates"
%>
<main class="summary_tpl">
<h1>Candidates</h1>
<%= link_to(admin_new_candidate_path, { class: 'secondary-btn' }) do %>
<button>Create New Candidate</button>
<% end %>
<% end if policy(User).create? %>
<table cellspacing="0" cellpadding="0">
<tr>