Sha256: 4c9ca8761623f049a71ec364d9f37a93ee9589f35dc7c15bf3bdc033c700b012
Contents?: true
Size: 847 Bytes
Versions: 62
Compression:
Stored size: 847 Bytes
Contents
<%= content_tag(:div, id: object.id, data: object.data, aria: object.aria, **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
62 entries across 62 versions & 1 rubygems