admin global nav
This commit is contained in:
@ -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>
|
||||
|
Reference in New Issue
Block a user