Sha256: f0abd2f6516535588b127e9c4cf39c08aea7e7672aaa6a6b940820be2d4e062c
Contents?: true
Size: 1.95 KB
Versions: 13
Compression:
Stored size: 1.95 KB
Contents
{%- comment -%} Modal preparado para recibir contenido + header y footer @param :header [Capture] contenido del header @param :body [Capture] contenido del modal @param :footer [Capture] contenido del footer @param :header_class [String] clases del header @param :body_class [String] clases del cuerpo principal @param :footer_class [String] clases del header @param :content_class [String] clases todo el bloque {%- endcomment -%} {% assign header = include.header %} {% assign header_class = include.header_class %} {% assign body = include.body %} {% assign body_class = include.body_class %} {% assign footer = include.footer %} {% assign footer_class = include.footer_class %} {% assign content_class = include.content_class %} <div class="modal fade mw-100vw" tabindex="-1" aria-hidden="true" data-modal-target="modal" data-action="keydown->modal#hideWithEscape" > <div class="modal-backdrop fade zindex-backdrop" data-modal-target="backdrop" data-action="click->modal#hide"></div> <div class="modal-dialog modal-dialog-scrollable modal-dialog-centered modal-lg zindex-modal" role="document"> <div class="modal-content {{content_class}}"> {% if header %} <div class="modal-header {{header_class}}"> {{ header }} </div> {% else %} <div class="modal-header justify-content-end border-bottom-0 p-0 {{header_class}}"> <span class="px-3 py-2 m-0 h1 font-weight-bold" type="button" data-action="click->modal#hide">×</span> <span class="sr-only">{{ site.i18n.close }}</span> </div> {% endif %} <div class="modal-body {{body_class}}"> {{ body }} </div> <div class="modal-footer flex-nowrap {{footer_class}}"> {% if footer %} {{ footer }} {% else %} <button class="btn btn-secondary m-0" type="button" data-action="modal#hide">{{ site.i18n.close }}</button> {% endif %} </div> </div> </div> </div>
Version data entries
13 entries across 13 versions & 3 rubygems