#3 楼 @Rei 不好意思,我改回去重新运行了一下,下面是错误信息:
Template is missing
Missing template topics/create, application/create with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :jbuilder, :coffee]}. Searched in: * "/Projects/opinions/app/views"
如果 button_to 放在 form_for 的外面是正常的。