Sha256: 5c06e6ea2fd056956195c728733060b04ff4355a7ecca1926507ac2882ea07cf
Contents?: true
Size: 865 Bytes
Versions: 1
Compression:
Stored size: 865 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, data: loading_data, }) do %> <%= object.confirm_button %> <% end %> <%= pb_rails("button", props: { type: "button", data: {"close-dialog": "#{object.id}" }, id: object.cancel_button_id, variant: "link", data: cancel_loading}) 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-14.1.0.pre.alpha.PBNTR462starratingdefaultvalue3579 | app/pb_kits/playbook/pb_dialog/dialog_footer.html.erb |