Sha256: 7f3b8b97a62c3461c5f19f9aabeb571cdac6c9bdb6a2d6e948f9faa6a5d57bb3
Contents?: true
Size: 757 Bytes
Versions: 7
Compression:
Stored size: 757 Bytes
Contents
<% if render_as_modal? %> <%= turbo_frame_tag coco_modal_frame_id(name), class: "modal-frame" do %> <%= render component_tag( id: id, role: "dialog", aria: {modal: "true"}, data: {turbo_temporary: true}, x: { data: x_data("modal"), bind: "root", cloak: true, "@modal:visit": "modal.visit($event.detail.url)" }, ) do %> <div class="modal-overlay" x-bind="overlay"></div> <div class="modal-container" x-bind="container" x-ref="container"> <div class="modal-content" x-trap.noscroll.inert.noreturn="open"> <%= modal_content %> </div> </div> <% end %> <%= render_flash_messages %> <% end %> <% else %> <%= content %> <% end %>
Version data entries
7 entries across 7 versions & 1 rubygems