feat(individual_form_component): add missing required on notification method
This commit is contained in:
parent
95de0d6239
commit
f6046d801f
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@
|
|||
- Individual.notification_methods.each do |method, _|
|
||||
.fr-fieldset__element
|
||||
.fr-radio-group
|
||||
= individual.radio_button :notification_method, method, id: "notification_method_#{method}", "data-action" => "for-tiers#toggleEmailInput", "data-for-tiers-target" => "notificationMethod"
|
||||
= individual.radio_button :notification_method, method, required: true, id: "notification_method_#{method}", "data-action" => "for-tiers#toggleEmailInput", "data-for-tiers-target" => "notificationMethod"
|
||||
%label.fr-label{ for: "notification_method_#{method}" }
|
||||
= t("activerecord.attributes.individual.notification_methods.#{method}")
|
||||
|
||||
|
|
Loading…
Reference in a new issue