1
我只包含該行的ERB:導軌ERB:radio_button_tag不產生
hello <% radio_button_tag "a", "b" %> world
問題:輸出是僅hello world
。沒有單選按鈕被生成。
可能是什麼問題?
我只包含該行的ERB:導軌ERB:radio_button_tag不產生
hello <% radio_button_tag "a", "b" %> world
問題:輸出是僅hello world
。沒有單選按鈕被生成。
可能是什麼問題?
您忘記等號:
hello <%= radio_button_tag "a", "b" %> world