Skip to content

Instantly share code, notes, and snippets.

@eduardopoleo
Created July 26, 2016 00:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eduardopoleo/0eb8995a8ac27b87448697df297e6125 to your computer and use it in GitHub Desktop.
Save eduardopoleo/0eb8995a8ac27b87448697df297e6125 to your computer and use it in GitHub Desktop.
<!-- views/staff/vertical.html.erb -->
<%= form_tag() do %>
<%= radio_button_tag(:average, "all_salaries", true, class: 'choice') %>
<%= label_tag(:average_all_salaries, "All Salaries") %>
<%= radio_button_tag(:average, "professors_only", false, class: 'choice') %>
<%= label_tag(:average_professors_only, "Professors Only") %>
<%= radio_button_tag(:average, "administrative_staff", false, class: 'choice') %>
<%= label_tag(:average_administrative_staff, "Administrative Staff") %>
<% end %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment