class ActiveAdmin::Views::ActiveAdminForm
def create_another_checkbox
def create_another_checkbox create_another = params[:create_another] label = @resource.class.model_name.human Arbre::Context.new do div class: "boolean input input-create-another" do label for: "create_another" do input( checked: create_another, id: "create_another", name: "create_another", type: "checkbox" ) text_node I18n.t("active_admin.create_another", model: label) end end end end