Sha256: b92752ee52f29f8d4f23c79e00c1351f38c43331ac2938e56e7d3ce19c77ea05

Contents?: true

Size: 743 Bytes

Versions: 17

Compression:

Stored size: 743 Bytes

Contents

<%= render component_tag(x: {data: x_data("modalDialog")}) do %>
  <% if header? %>
    <header class="modal-dialog-header">
      <div class="modal-dialog-header-container">
        <% if title? %>
          <h4 class="modal-dialog-title" data-role="title">
            <%= title %>
          </h4>
        <% end %>
        <% if dismissable? %>
          <button type="button" class="modal-dialog-close" data-role="close" @click="close">
            <%= coco_icon(:x, size: :md) %>
          </button>
        <% end %>
      </div>
    </header>
  <% end %>
  
  <% if notice? %>
    <div class="modal-dialog-notice">
      <%= notice %>
    </div>
  <% end %>
  
  <div class="modal-dialog-content">
    <%= content %>
  </div>
<% end %>

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
coveragebook_components-0.19.8 app/components/coco/modals/modal_dialog/modal_dialog.html.erb
coveragebook_components-0.19.7 app/components/coco/modals/modal_dialog/modal_dialog.html.erb
coveragebook_components-0.19.6 app/components/coco/modals/modal_dialog/modal_dialog.html.erb
coveragebook_components-0.19.5 app/components/coco/modals/modal_dialog/modal_dialog.html.erb
coveragebook_components-0.19.4 app/components/coco/modals/modal_dialog/modal_dialog.html.erb
coveragebook_components-0.19.3 app/components/coco/modals/modal_dialog/modal_dialog.html.erb
coveragebook_components-0.19.2 app/components/coco/modals/modal_dialog/modal_dialog.html.erb
coveragebook_components-0.19.1 app/components/coco/modals/modal_dialog/modal_dialog.html.erb
coveragebook_components-0.19.0 app/components/coco/modals/modal_dialog/modal_dialog.html.erb
coveragebook_components-0.18.8 app/components/coco/modals/modal_dialog/modal_dialog.html.erb
coveragebook_components-0.18.7 app/components/coco/modals/modal_dialog/modal_dialog.html.erb
coveragebook_components-0.18.0 app/components/coco/modals/modal_dialog/modal_dialog.html.erb
coveragebook_components-0.17.7 app/components/coco/modals/modal_dialog/modal_dialog.html.erb
coveragebook_components-0.17.6 app/components/coco/modals/modal_dialog/modal_dialog.html.erb
coveragebook_components-0.17.5 app/components/coco/modals/modal_dialog/modal_dialog.html.erb
coveragebook_components-0.17.4 app/components/coco/modals/modal_dialog/modal_dialog.html.erb
coveragebook_components-0.17.3 app/components/coco/modals/modal_dialog/modal_dialog.html.erb