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.7.1 app/components/coco/base/modal_dialog/modal_dialog.html.erb
coveragebook_components-0.7.0 app/components/coco/base/modal_dialog/modal_dialog.html.erb