Sha256: a300bf1f43890a0e8cb92f82b426607192ef81bca551d5bf79d6ae0309e8dd4b
Contents?: true
Size: 904 Bytes
Versions: 2
Compression:
Stored size: 904 Bytes
Contents
<%= render component_tag( x: { data: x_data("appLayout", banner: banner? && banner_content?), ":class": "{'with-banner': banner}", "@app:navigate.window": "handleNavigation", "@resize.window": "setAppHeight" }, class: { "with-sidebar-nav": sidebar_nav?, "with-banner": banner? && banner_content?, "with-header": header? }) do %> <% if banner? && banner_content? %> <div class="layout-banner" data-role="app-banner" role="banner" @banner:dismiss="hideBanner"> <%= banner %> </div> <% end %> <% if header? %> <div class="layout-header" data-role="app-header"> <%= header %> </div> <% end %> <% if sidebar_nav? %> <div class="layout-sidebar-nav" data-role="app-sidebar-nav"> <%= sidebar_nav %> </div> <% end %> <div class="layout-body" data-role="app-body"> <%= content %> </div> <%= flashes %> <% end %>
Version data entries
2 entries across 2 versions & 1 rubygems