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 li class: 'create_another' do input( checked: create_another, id: 'create_another', name: 'create_another', type: 'checkbox' ) label(I18n.t('active_admin.create_another', model: label), for: 'create_another') end end end