我show
在 Active Admin 的 Post Resource 中有此代码:
show do |post|
attributes_table do
rows :name, :author, :category
end
end
我只想要自定义标签,但面板总是Post Details
作为面板的标签提供。我希望它像Your Blog Details
.
show title: 'Your Blog Details' do |post|
attributes_table do
rows :name, :author, :category
end
end
参考。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句