Sha256: 9a004ec31e1959bc5f219581a7da6b3531ad550b9aadad2334cd7e17ed8a8ebe

Contents?: true

Size: 851 Bytes

Versions: 2

Compression:

Stored size: 851 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>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
playbook_ui-11.11.0.pre.alpha.renderer1 app/pb_kits/playbook/pb_dialog/dialog.html.erb
playbook_ui-11.11.0.pre.alpha.dialog1 app/pb_kits/playbook/pb_dialog/dialog.html.erb