You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
metu.life/app/views/layouts/admin.html.haml

21 lines
512 B

- content_for :header_tags do
= javascript_pack_tag 'public', integrity: true, crossorigin: 'anonymous'
- content_for :content do
.admin-wrapper
.sidebar-wrapper
.sidebar
= link_to root_path do
= image_tag asset_pack_path('logo.png'), class: 'logo'
= render_navigation
.content-wrapper
.content
%h2= yield :page_title
= render 'application/flashes'
= yield
= render template: "layouts/application", locals: { body_classes: 'admin' }