Sha256: c99bad6682fca5b94ba6a82ee92913764e534687b52a7f5327e14e129295b781

Contents?: true

Size: 338 Bytes

Versions: 10

Compression:

Stored size: 338 Bytes

Contents

- if objects.present?
  ul.list__list max-levels="#{objects.first.first.class.const_get('MAX_DEPTH')}"
    - objects.each do |object, children|
      li.list__item href=polymorphic_path([:admin, object], action: :drop) rel=object.id
        = render partial: 'object', object: object
        = render partial: 'objects', object: children

Version data entries

10 entries across 5 versions & 1 rubygems

Version Path
adminos-1.0.0.pre.rc.5 lib/generators/templates/install/admin_panel/pages/views/admin_pages/_objects.slim
adminos-1.0.0.pre.rc.5 lib/generators/templates/adminos/types/section/views/_objects.slim
adminos-1.0.0.pre.rc.4 lib/generators/templates/adminos/types/section/views/_objects.slim
adminos-1.0.0.pre.rc.4 lib/generators/templates/install/admin_panel/pages/views/admin_pages/_objects.slim
adminos-1.0.0.pre.rc.3 lib/generators/templates/install/admin_panel/pages/views/admin_pages/_objects.slim
adminos-1.0.0.pre.rc.3 lib/generators/templates/adminos/types/section/views/_objects.slim
adminos-1.0.0.pre.rc.2 lib/generators/templates/install/admin_panel/pages/views/admin_pages/_objects.slim
adminos-1.0.0.pre.rc.2 lib/generators/templates/adminos/types/section/views/_objects.slim
adminos-1.0.0.pre.rc.1 lib/generators/templates/adminos/types/section/views/_objects.slim
adminos-1.0.0.pre.rc.1 lib/generators/templates/install/admin_panel/pages/views/admin_pages/_objects.slim