admin a11y polish

This commit is contained in:
Mark Moser
2017-05-01 16:17:41 -05:00
parent 9368184aa8
commit b961fe7553
8 changed files with 23 additions and 14 deletions

View File

@ -21,7 +21,9 @@
<%= form.text_field :project %>
</div>
<div>
<div role="group" aria-labelledby="position-type">
<span id="position-type">Position Type</span>
<%= form.radio_button :position, 'full-time' %>
<%= form.label "position_full-time", "Full-time" %>

View File

@ -31,7 +31,7 @@
<td><%= candidate.experience %> years</td>
<td><%= candidate.status %></td>
<td><%= candidate.completed ? link_to("Submitted", admin_result_path(candidate.test_hash)) : "" %></td>
<td><%= candidate.reminded ? "Yes" : "" %></td>
<td><%= raw candidate.reminded ? "&check;" : "&middot;" %></td>
<td><%= candidate.interview? %></td>
</tr>
<% end %>