显示面板自定义标签 activeadmin
Show panel custom label activeadmin
我在 Active Admin 的 Post 资源中有此 show
代码:
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
我在 Active Admin 的 Post 资源中有此 show
代码:
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