Answer the question
In order to leave comments, you need to log in
How to rename a field in ActiveAdmin?
When I try to rename a field in Active Admin
, I get a similar error, what should I do? Who can advise?
Answer the question
In order to leave comments, you need to log in
to rename the Dashboard on the Dashboard page, you need to pass the desired value to the content method in the admin/dashboard.rb file
ActiveAdmin.register_page "Dashboard" do
menu priority: 1, label: proc{ I18n.t("active_admin.dashboard") } #здесь меняется название в верхнем меню
content title: proc{ I18n.t("active_admin.dashboard") } do #здесь меняется название в нужном Вам месте
# тут контент
end
end
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question