Sha256: dfc50b786f4483dc2181a45d94ca2cc4fcad938eb432b05bd23fabcd081dc3f5

Contents?: true

Size: 554 Bytes

Versions: 42

Compression:

Stored size: 554 Bytes

Contents

<%= render component_tag(x: {data: x_data("modalDialog")}) do %>
  <% if header? %>
    <header class="modal-dialog-header">
      <% 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 %>
    </header>
  <% end %>
  <div class="modal-dialog-content">
    <%= content %>
  </div>
<% end %>

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
coveragebook_components-0.8.7 app/components/coco/base/modal_dialog/modal_dialog.html.erb
coveragebook_components-0.8.6 app/components/coco/base/modal_dialog/modal_dialog.html.erb
coveragebook_components-0.8.5 app/components/coco/base/modal_dialog/modal_dialog.html.erb
coveragebook_components-0.8.4 app/components/coco/base/modal_dialog/modal_dialog.html.erb
coveragebook_components-0.8.3 app/components/coco/base/modal_dialog/modal_dialog.html.erb
coveragebook_components-0.8.2 app/components/coco/base/modal_dialog/modal_dialog.html.erb
coveragebook_components-0.8.1 app/components/coco/base/modal_dialog/modal_dialog.html.erb
coveragebook_components-0.8.0 app/components/coco/base/modal_dialog/modal_dialog.html.erb
coveragebook_components-0.8.0.beta.3 app/components/coco/base/modal_dialog/modal_dialog.html.erb
coveragebook_components-0.8.0.beta.2 app/components/coco/base/modal_dialog/modal_dialog.html.erb
coveragebook_components-0.8.0.beta.1 app/components/coco/base/modal_dialog/modal_dialog.html.erb
coveragebook_components-0.7.10 app/components/coco/base/modal_dialog/modal_dialog.html.erb
coveragebook_components-0.7.9 app/components/coco/base/modal_dialog/modal_dialog.html.erb
coveragebook_components-0.7.8 app/components/coco/base/modal_dialog/modal_dialog.html.erb
coveragebook_components-0.7.7 app/components/coco/base/modal_dialog/modal_dialog.html.erb
coveragebook_components-0.7.6 app/components/coco/base/modal_dialog/modal_dialog.html.erb
coveragebook_components-0.7.5 app/components/coco/base/modal_dialog/modal_dialog.html.erb
coveragebook_components-0.7.4 app/components/coco/base/modal_dialog/modal_dialog.html.erb
coveragebook_components-0.7.3 app/components/coco/base/modal_dialog/modal_dialog.html.erb
coveragebook_components-0.7.2 app/components/coco/base/modal_dialog/modal_dialog.html.erb