Sha256: 0b4b592763308b2bd165a3cbb1525b53a0551059aa26238bd7469faaa7ad8ecd
Contents?: true
Size: 781 Bytes
Versions: 1
Compression:
Stored size: 781 Bytes
Contents
<%= pb_content_tag(:div, **combined_html_options) 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: { type: "button", 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
playbook_ui-13.24.0.pre.alpha.play1305drycontenttag2689 | app/pb_kits/playbook/pb_dialog/dialog_footer.html.erb |