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" / El morph no estaría siendo de utilidad / meta name="turbo-refresh-method" content="morph" / En general es deseable el comportamiento scroll "reset", por ejemplo en los forms, / ya que los errores se muestran arriba y el botón de submit está abajo / 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 = render partial: 'pg_layout/sidebar_mobile' div class="#{ @sidebar == false ? '' : 'with-sidebar' }" - unless @sidebar == false = render partial: 'pg_layout/sidebar' div = 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 - content = content_for?(:content) ? yield(:content) : yield - unless content.include? 'flash-wrapper' = render partial: 'pg_layout/flash_container' = content div style="width:100%; height: 10em" = render_turbo_stream_title