Rails 管理员在 has_many 嵌套表单中隐藏按钮

Rails admin hide buttons in has_many nested form

我正在使用 Rails 管理员。我有三个型号:

class Tag < ActiveRecord::Base
    has_many :tags_users, :dependent => :destroy  
end

class TagsUser < ActiveRecord::Base
    belongs_to :user_spot, :inverse_of => :tags_users
    belongs_to :tag
end

class UserSpot < ActiveRecord::Base
    has_many :tags_users, :inverse_of => :user_spot
    accepts_nested_attributes_for :tags_users, :allow_destroy => true
end

以及正在显示的内容:

我想隐藏按钮“添加新标签”和“编辑此标签”。我该怎么做?

尝试

field :tag do 
  inline_add false
  inline_edit false
end