Sha256: 144c0f168905ec904baf59493c2abe4df74601bfca108ece0d699d6e90b5764f
Contents?: true
Size: 612 Bytes
Versions: 115
Compression:
Stored size: 612 Bytes
Contents
<%= render(Primer::Alpha::Dialog.new(id: "my-dialog", title: title, subtitle: subtitle)) do |d| %> <% d.with_show_button { button_text } %> <form class="pt-3"> <%= render(Primer::Alpha::Dialog::Body.new) do %> This is a custom dialog with the body and footer wrapped in a form tag. <% end %> <%= render(Primer::Alpha::Dialog::Footer.new(show_divider: show_divider)) do %> <%= render(Primer::ButtonComponent.new(data: { "close-dialog-id": "my-dialog" })) { "Cancel" } %> <%= render(Primer::ButtonComponent.new(scheme: :primary)) { "Submit" } %> <% end %> </form> <% end %>
Version data entries
115 entries across 115 versions & 2 rubygems