Html 是否可以通过适当的终止重写此文件?
我似乎不知道如何恰当地终止这些陈述Html 是否可以通过适当的终止重写此文件?,html,ruby-on-rails,Html,Ruby On Rails,我似乎不知道如何恰当地终止这些陈述 .append("<div class='grid_2'>#{@new_topic.name}</div><div class='grid_3'><a href=\'#{destroy_topic_admin_me_categories_path(:topic => @new_topic.id, :class => 'button delete_topic')}\'</div>") .appe
.append("<div class='grid_2'>#{@new_topic.name}</div><div class='grid_3'><a href=\'#{destroy_topic_admin_me_categories_path(:topic => @new_topic.id, :class => 'button delete_topic')}\'</div>")
.append(“{@new\u topic.name}您缺少
这应该可以解决问题
.append("<div class='grid_2'>#{@new_topic.name}</div><div class='grid_3'><a href=\"#{destroy_topic_admin_me_categories_path(:topic => @new_topic.id, :class => 'button delete_topic')}\"></a></div>")
.append(“#{@new_topic.name}”)
您缺少了一个>并且在我的选项中使用\“比将\”与“混合”更清晰