I think I may have come across a bug. I keep getting this warning:
warning: variable "value" is unused (if the variable is not meant to be used, prefix it with an underscore)
Here is my code:
<%= label class: "radio-inline" do %>
<%= radio_button f, :role, value="admin" %> Admin
<% end %>
Here is the rendered HTML which shows value
being used:
<input id="user_role_admin" name="user[role]" type="radio" value="admin" checked="">