还有另一种方法来创建助手而不是使用@template.content_tag和@template.concat命令?
这些看起来太冗长了。
实际上,我需要重写一些帮助程序,例如 text_field、radio_button、submit 等。
还有另一种方法来创建助手而不是使用@template.content_tag和@template.concat命令?
这些看起来太冗长了。
实际上,我需要重写一些帮助程序,例如 text_field、radio_button、submit 等。