単純なフォームを使用して、データ属性をラジオ ボタンに区別しようとしています。
私は以下をレンダリングしたい -
<input type="radio" name="special_feature[all_editions]" id="special_feature_all_editions_true" value="true" data-enables="edition_select">
<input type="radio" name="special_feature[all_editions]" id="special_feature_all_editions_false" value="false" data-disables="edition_select">
<%= f.input :all_editions,
as: :radio_buttons
%>
異なるデータ属性を追加する方法はありますか?