1 changed files with 8 additions and 0 deletions
@ -0,0 +1,8 @@ |
|||||||
|
<%= f.govuk_radio_buttons_fieldset category.to_sym, legend: { text: label, size: "s" }, small: true, form_group: { classes: "app-filter__group" } do %> |
||||||
|
<% options.map do |key, option| %> |
||||||
|
<%= f.govuk_radio_button category, key.to_s, |
||||||
|
label: { text: option }, |
||||||
|
checked: filter_selected?(category, key), |
||||||
|
size: "s" %> |
||||||
|
<% end %> |
||||||
|
<% end %> |
Loading…
Reference in new issue