admin a11y polish
This commit is contained in:
@ -27,16 +27,18 @@
|
||||
<% if current_user.acts_as_manager? %>
|
||||
<div>
|
||||
<%= form_tag admin_interview_path(test_hash: @candidate.test_hash) do %>
|
||||
<strong>Interview: </strong>
|
||||
<div role="group" aria-labelledby="interview-status">
|
||||
<strong id="interview-status">Interview: </strong>
|
||||
|
||||
<%= radio_button_tag :review_status, :approved, checked = @candidate.approved? %>
|
||||
<%= label_tag :review_status_approved, "Yes" %>
|
||||
<%= 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" %>
|
||||
<%= radio_button_tag :review_status, :declined, checked = @candidate.declined? %>
|
||||
<%= label_tag :review_status_declined, "No" %>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<span>Review comments for recruiter</span>
|
||||
<%= label_tag :review_comments, "Review comments for recruiter" %>
|
||||
<%= text_area_tag :review_comments, @candidate.review_comments %>
|
||||
<%= submit_tag 'Send Request' %>
|
||||
</div>
|
||||
|
@ -18,11 +18,12 @@
|
||||
</div>
|
||||
|
||||
<% @quiz.each do |question| %>
|
||||
<%= form_for(:answer, url: '#never-post', html:{id: 'summary-form'}) do |form| %>
|
||||
<%= form_for(:answer, url: '#never-post', html:{id: "summary-#{question.to_i}"}) do |form| %>
|
||||
<h2><%= question.question %></h2>
|
||||
<%= image_tag question.attachment if question.attachment.present? %>
|
||||
|
||||
<fieldset disabled>
|
||||
<legend>Response</legend>
|
||||
<%= render partial: "quiz/#{question.input_type}", locals: {question: question, answer: question.answer, form: form} %>
|
||||
</fieldset>
|
||||
<% end %>
|
||||
|
Reference in New Issue
Block a user