Sha256: 4b087b00616c893f9677b5e91fb4d379a27c3a680335ba9383341405df30caba

Contents?: true

Size: 802 Bytes

Versions: 395

Compression:

Stored size: 802 Bytes

Contents

<%= content_tag(:div,
    id: object.id,
    data: object.data,
    aria: object.aria) do %>
    <% if object.confirm_button && object.cancel_button %>
        <div class="dialog-pseudo-footer"></div>
        <%= pb_rails("flex", props: { classname:object.classname, spacing:"between", padding_x:"sm", padding:"sm", padding_bottom:"sm" }) do %>
            <%= pb_rails("button", props: { type: "submit", id: object.confirm_button_id }) do %>
                <%= object.confirm_button %>
            <% end %>
            <%= pb_rails("button", props: { data: {"close-dialog": "#{object.id}" }, id: object.cancel_button_id, variant: "link"}) do %>
                <%= object.cancel_button %>
            <% end %>
        <% end %>
    <% else %>
        <% content.presence %>
    <% end %>
<% end %>

Version data entries

395 entries across 395 versions & 1 rubygems

Version Path
playbook_ui-13.18.0.pre.alpha.dependabotnpmandyarnpowerhomeplaybookicons001alpha52174 app/pb_kits/playbook/pb_dialog/dialog_footer.html.erb
playbook_ui-13.18.0.pre.alpha.PBNTR191AdvancedTableFinalFixes2173 app/pb_kits/playbook/pb_dialog/dialog_footer.html.erb
playbook_ui-13.18.0.pre.alpha.PBNTR191AdvancedTableFinalFixes2159 app/pb_kits/playbook/pb_dialog/dialog_footer.html.erb
playbook_ui-13.17.0.pre.alpha.nodealphaupgrade2157 app/pb_kits/playbook/pb_dialog/dialog_footer.html.erb
playbook_ui-13.18.0 app/pb_kits/playbook/pb_dialog/dialog_footer.html.erb
playbook_ui-13.16.0.pre.alpha.play1141iconkitusinglibrary2130 app/pb_kits/playbook/pb_dialog/dialog_footer.html.erb
playbook_ui-13.16.0.pre.alpha.PLAY12002127 app/pb_kits/playbook/pb_dialog/dialog_footer.html.erb
playbook_ui-13.16.0.pre.alpha.powercentrainplaybookpt22125 app/pb_kits/playbook/pb_dialog/dialog_footer.html.erb
playbook_ui-13.16.0.pre.alpha.play1141iconkitusinglibrary2107 app/pb_kits/playbook/pb_dialog/dialog_footer.html.erb
playbook_ui-13.16.0.pre.alpha.PBNTR181stripedtable2103 app/pb_kits/playbook/pb_dialog/dialog_footer.html.erb
playbook_ui-13.16.0.pre.alpha.play1141iconkitusinglibrary2100 app/pb_kits/playbook/pb_dialog/dialog_footer.html.erb
playbook_ui-13.16.0.pre.alpha.PBNTR184betaflaginmenuyml2085 app/pb_kits/playbook/pb_dialog/dialog_footer.html.erb
playbook_ui-13.16.0.pre.alpha.PBNTR178AdvancedTableDocs2072 app/pb_kits/playbook/pb_dialog/dialog_footer.html.erb
playbook_ui-13.17.0 app/pb_kits/playbook/pb_dialog/dialog_footer.html.erb
playbook_ui-13.16.0.pre.alpha.play1141iconkitusinglibrary2060 app/pb_kits/playbook/pb_dialog/dialog_footer.html.erb
playbook_ui-13.16.0.pre.alpha.play1141iconkitusinglibrary2038 app/pb_kits/playbook/pb_dialog/dialog_footer.html.erb
playbook_ui-13.16.0.pre.alpha.play1141iconkitusinglibrary2037 app/pb_kits/playbook/pb_dialog/dialog_footer.html.erb
playbook_ui-13.16.0.pre.alpha.nodejsupgrade2036 app/pb_kits/playbook/pb_dialog/dialog_footer.html.erb
playbook_ui-13.16.0.pre.alpha.PBNTR177NewAdvancedTableKit2035 app/pb_kits/playbook/pb_dialog/dialog_footer.html.erb
playbook_ui-13.16.0.pre.alpha.PBNTR177NewAdvancedTableKit2034 app/pb_kits/playbook/pb_dialog/dialog_footer.html.erb