ラジオ ボタンがあります。最初のバリアントを選択する<%= f.text_field :price %>
と利用可能になり、2 番目のバリアント<%= f.text_field :price %>
を選択すると利用できなくなります
<%= f.radio_button :price, true %><%= f.label :price %>
<%= f.text_field :price %>
<%= f.radio_button :price, false %><%= f.label :price %>
<%= radio_button_tag(:price, "price") %>
どうすればできますか?