% # TODO: This should be extracted into a decorator, or something. It is only a quick hack solution. %>
<% if current_user.acts_as_reviewer? %>
<% end %>
<% if current_user.acts_as_manager? %>
<%= form_tag admin_interview_path(test_hash: @candidate.test_hash) do %>
Interview:
<%= radio_button_tag :review_status, :approved, checked = @candidate.approved? %>
<%= label_tag :review_status_approved, "Yes" %>
<%= radio_button_tag :review_status, :declined, checked = @candidate.declined? %>
<%= label_tag :review_status_declined, "No" %>
<% end %>
<% else %>
Candidate Interview Status: <%= @candidate.review_status %>
<% unless @candidate.review_status.blank? %>
Review Status Comments:
<%= @candidate.review_comments %>
<% end %>
<% end %>