Sha256: 6ee11e554aa0aed4601ae11c36a4dc169ce67a42189780924d606451da2becfb
Contents?: true
Size: 799 Bytes
Versions: 102
Compression:
Stored size: 799 Bytes
Contents
<%= pb_content_tag(:div, class: "") do %> <% 'excluded classname?' %> <% 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
102 entries across 102 versions & 1 rubygems