Sha256: bb4de03a2228b55e3d5a75b1e098e839a54733a550039271842058472d695013

Contents?: true

Size: 1.95 KB

Versions: 1

Compression:

Stored size: 1.95 KB

Contents

doctype html
html
  head
    title = Rails.application.class.module_parent_name
    meta name="viewport" content="width=device-width,initial-scale=1"
    - if @turbo_no_cache
      meta name="turbo-cache-control" content="no-cache"
    / meta name="turbo-refresh-method" content="morph"
    / meta name="turbo-refresh-scroll" content="preserve"
    meta name="turbo-prefetch" content="false"
    meta name="view-transition" content="same-origin"
    meta name="cable-history-timestamp" content="#{Time.now.to_i}"
    = csrf_meta_tags
    = csp_meta_tag
    = action_cable_with_jwt_meta_tag

    = stylesheet_link_tag 'application', 'data-turbo-track': 'reload'
    = javascript_include_tag 'application', 'data-turbo-track': 'reload', type: 'module'
    meta name="actioncable-protocol" content="#{Rails.env.test? ? 'actioncable-v1-json' : 'actioncable-v1-ext-json'}"
    - if @rollbar_token.present?
      meta name="rollbar-token" content="#{@rollbar_token}"
      meta name="rollbar-env" content="#{Rails.env}"
  body
    div class="#{ @sidebar == false ? '' : 'with-sidebar' }"
      - unless @sidebar == false
        = render partial: 'pg_layout/sidebar'
      div
        .position-relative.d-flex.justify-content-around
          #flash.flash.position-absolute.z-1.mt-1
            = render partial: 'pg_layout/flash'
        = render partial: 'pg_layout/navbar'
        div
          - if user_signed_in? && breadcrumbs.any?
            .d-flex.align-items-center.justify-content-between.px-3.py-1.d-print-none[
              style="min-height: 2.5em;"]
              nav aria-label="breadcrumb"
                = render_breadcrumbs
              / = render_breadcrumbs builder: ::Bootstrap4BreadcrumbsBuilder
              .btn-toolbar
                = yield(:actions)
            hr.my-0
          = render partial: 'pg_layout/flash_alert'
          = content_for?(:content) ? yield(:content) : yield
          div style="width:100%; height: 10em"
    = render_turbo_stream_title

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pg_rails-7.0.8.pre.alpha.34 pg_layout/app/views/layouts/pg_layout/base.html.slim