Sha256: ce8fb220fc29b77d72e841b3078a19d76043950d5cdeb0d980db82c53fcba785

Contents?: true

Size: 507 Bytes

Versions: 4

Compression:

Stored size: 507 Bytes

Contents

- engine.sidebar_controllers.each do |sc|
  - id = "sidebar-#{sc.name.underscore.gsub('/', '-')}"
  - position = sc.sidebar_position || :right
  - size = sc.sidebar_size || '250px'
  - url = sc.sidebar_url || send(engine.router_name).url_for(controller: "/#{sc.name.underscore.gsub('_controller', '')}", action: :show, format: :html, only_path: true)
  - mode = sc.sidebar_mode || :modal
  %aside.py-2{ id: id, data: { sidebar: { position: position, size: size, state: :closed, mode: :modal, load: url } } }

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
administrador-0.0.13.pre app/views/administrador/application_view_helper/_render_engine_sidebars.html.haml
administrador-0.0.12.pre app/views/administrador/application_view_helper/_render_engine_sidebars.html.haml
administrador-0.0.11.pre app/views/administrador/application_view_helper/_render_engine_sidebars.html.haml
administrador-0.0.10.pre app/views/administrador/application_view_helper/_render_engine_sidebars.html.haml