Commit 74a957db authored by Galen Evilla's avatar Galen Evilla

last na talaga na-ooc kasi ako e

parent 20e72207
......@@ -15,7 +15,10 @@
<% if @positions.size > 0 %>
<%@positions.each do |p|%>
<hr>
<h3><center><%=p.name%></center></h3>
<h3><%=p.name%></h3>
<div class="btn btn-info" role ="button">
<%= link_to "Add a Candidate", new_admin_candidate_path, :method => "get" %>
</div>
<% if p.candidates.size > 0 %>
<table class="table table-hover">
<thead>
......@@ -40,11 +43,6 @@
<%else%>
<h4><center>No candidates available.</center></h4>
<%end%>
<center>
<div class="btn btn-info" role ="button">
<%= link_to "Add a Candidate", new_admin_candidate_path, :method => "get" %>
</div>
</center>
</table>
<%end%>
<% else %>
......
......@@ -7,7 +7,7 @@
<h1>New Candidate</h1>
<%= render partial: "form" %>
<br>
<%= link_to "Back to Candidates", admin_candidates_path %>
</div>
</div>
......
......@@ -7,7 +7,7 @@
<h1>New Position</h1>
<%= render partial: "form" %>
<br>
<%= link_to "Back to Candidates", admin_candidates_path %>
</div>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment