答案 0 :(得分:0)
我找到了答案:
ActiveAdmin.register Role do
form do |f|
f.inputs "Role Details" do
f.input :user_id
end
f.inputs "User Details" do
f.input :email, :input_html => { :value => f.object.user.email }
end
f.actions
end
end