admin global nav

This commit is contained in:
Mark Moser
2016-09-22 16:29:19 -05:00
parent aeef75bf8b
commit 5398a8ea8b
14 changed files with 64 additions and 67 deletions

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>