Sha256: fb9d2c9f9e07660cffc969868a2a8886a4a4838e596b8be7ca3afcac6109a7a8

Contents?: true

Size: 273 Bytes

Versions: 37

Compression:

Stored size: 273 Bytes

Contents

def set_admin_locale
  I18n.locale = :en
end

def determine_field_type(val)
  if [TrueClass, FalseClass].include? val.class
    :boolean
  else
    :string
  end
end

def general_options(page)
  "General options <i class='fold #{'folded' if page.layout_name}'>Hide</i>"
end

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
activeadmin-selleo-cms-0.0.61 app/admin/active_admin/views_helper.rb
activeadmin-selleo-cms-0.0.60 app/admin/active_admin/views_helper.rb
activeadmin-selleo-cms-0.0.59 app/admin/active_admin/views_helper.rb
activeadmin-selleo-cms-0.0.58 app/admin/active_admin/views_helper.rb
activeadmin-selleo-cms-0.0.54 app/admin/active_admin/views_helper.rb
activeadmin-selleo-cms-0.0.52 app/admin/active_admin/views_helper.rb
activeadmin-selleo-cms-0.0.51 app/admin/active_admin/views_helper.rb
activeadmin-selleo-cms-0.0.49 app/admin/active_admin/views_helper.rb
activeadmin-selleo-cms-0.0.48 app/admin/active_admin/views_helper.rb
activeadmin-selleo-cms-0.0.47 app/admin/active_admin/views_helper.rb
activeadmin-selleo-cms-0.0.46 app/admin/active_admin/views_helper.rb
activeadmin-selleo-cms-0.0.45 app/admin/active_admin/views_helper.rb
activeadmin-selleo-cms-0.0.44 app/admin/active_admin/views_helper.rb
activeadmin-selleo-cms-0.0.43 app/admin/active_admin/views_helper.rb
activeadmin-selleo-cms-0.0.42 app/admin/active_admin/views_helper.rb
activeadmin-selleo-cms-0.0.41 app/admin/active_admin/views_helper.rb
activeadmin-selleo-cms-0.0.40 app/admin/active_admin/views_helper.rb
activeadmin-selleo-cms-0.0.39 app/admin/active_admin/views_helper.rb
activeadmin-selleo-cms-0.0.38 app/admin/active_admin/views_helper.rb
activeadmin-selleo-cms-0.0.37 app/admin/active_admin/views_helper.rb