Sha256: 1ebac17b9aff6867f9b98fc49f76dc00c63da82198c9281972e1e80d2bdeeb29
Contents?: true
Size: 981 Bytes
Versions: 6
Compression:
Stored size: 981 Bytes
Contents
<div class="pb_dialog_wrapper_rails"> <%= content_tag(:dialog, aria: object.aria, data: object.data, id: object.id, class: object.classname) do %> <% if object.title %> <%= pb_rails("dialog/dialog_header", props: {title: object.title, id: object.id }) %> <% end %> <% if object.text %> <%= pb_rails("dialog/dialog_body", props: { text: object.text }) %> <% end %> <% if object.cancel_button && object.confirm_button %> <%= pb_rails("dialog/dialog_footer", props: { cancel_button: object.cancel_button, confirm_button: object.confirm_button, id: object.id }) %> <% end %> <%= content %> <% end %> </div> <%= javascript_tag do %> window.addEventListener("DOMContentLoaded", () => { dialogHelper() }) <% end %>
Version data entries
6 entries across 6 versions & 1 rubygems