app/components/coco/modals/modal/modal.html.erb in coveragebook_components-0.19.4 vs app/components/coco/modals/modal/modal.html.erb in coveragebook_components-0.19.5
- old
+ new
@@ -25,9 +25,13 @@
<div data-role="inline-modal-content">
<% if container_type == :dialog %>
<%= render Coco::ModalDialog.new(id: @container_id, title: title.to_s, dismissable: false) do %>
<%= content %>
<% end %>
+ <% elsif container_type == :canvas %>
+ <%= render Coco::ModalCanvas.new(id: @container_id, dismissable: false) do %>
+ <%= content %>
+ <% end %>
<% else %>
<%= coco_panel(id: @container_id) do %>
<%= content %>
<% end %>
<% end %>