Sha256: 068af32b255e270159d69cda935117d146ae9f7a05d50aed5821e1c39054c605
Contents?: true
Size: 750 Bytes
Versions: 9
Compression:
Stored size: 750 Bytes
Contents
<%= pb_content_tag 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
9 entries across 9 versions & 1 rubygems