linked into views
This commit is contained in:
@ -1,10 +1,33 @@
|
||||
<main class="summary_tpl">
|
||||
<h2 class="prft-heading">Quiz Review</h2>
|
||||
<p>
|
||||
<strong>Test ID:</strong> <%= @candidate.test_hash %><br />
|
||||
<strong>Years of Experience:</strong> <%= @candidate.experience %><br />
|
||||
<strong>Recruiter Email:</strong> <%= mail_to @candidate.recruiter.name, @candidate.recruiter.email %><br />
|
||||
</p>
|
||||
|
||||
<div class="review_meta">
|
||||
<div>
|
||||
<strong>Test ID:</strong> <%= @candidate.test_hash %><br />
|
||||
<strong>Years of Experience:</strong> <%= @candidate.experience %><br />
|
||||
<strong>Recruiter Email:</strong> <%= mail_to @candidate.recruiter.name, @candidate.recruiter.email %><br />
|
||||
</div>
|
||||
<div>
|
||||
<div class="review_meta__votes">
|
||||
<strong>Votes: </strong>
|
||||
<%= link_to '#cast-vote-up', remote: true do %>
|
||||
Yea (<%= @candidate.votes.yea.count %>)
|
||||
<% end %>
|
||||
<%= link_to '#cast-vote-down', remote: true do %>
|
||||
Nay (<%= @candidate.votes.nay.count %>)
|
||||
<% end %>
|
||||
</div>
|
||||
<div class="review_meta__vetos">
|
||||
<strong>Manager Vetos: </strong>
|
||||
<%= link_to '#request', remote: true do %>
|
||||
Request Interview
|
||||
<% end %>
|
||||
<%= link_to '#decline', remote: true do %>
|
||||
Decline Interview
|
||||
<% end %>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<% @quiz.each do |question| %>
|
||||
<%= form_for(:answer, url: '#never-post', html:{id: 'summary-form'}) do |form| %>
|
||||
|
Reference in New Issue
Block a user