Sha256: f1e11c9d6abc11a163e29c31685a6e66ba9d9921b03edf9d358ff43c15c00f6d

Contents?: true

Size: 380 Bytes

Versions: 25

Compression:

Stored size: 380 Bytes

Contents

<%= render component_tag(x: {data: "confirmPanel"}) do %>
  <% if text? %>
    <div class="confirm-text">
      <%= text %>
    </div>
  <% end %>
  <% if button? %>
    <div class="confirm-button" @click="confirm">
      <%= button %>
    </div>
  <% end %>
  <% if cancel? %>
    <div class="confirm-cancel" @click="cancel">
      <%= cancel %>
    </div>
  <% end %>
<% end %>

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
coveragebook_components-0.16.0 app/components/coco/buttons/confirm_panel/confirm_panel.html.erb
coveragebook_components-0.15.0 app/components/coco/buttons/confirm_panel/confirm_panel.html.erb
coveragebook_components-0.14.0 app/components/coco/buttons/confirm_panel/confirm_panel.html.erb
coveragebook_components-0.13.1 app/components/coco/buttons/confirm_panel/confirm_panel.html.erb
coveragebook_components-0.13.0 app/components/coco/buttons/confirm_panel/confirm_panel.html.erb