Sha256: 47be668932649c702369f8d7efd3c697be6956375b3f2d303484ff48a9da321c
Contents?: true
Size: 606 Bytes
Versions: 18
Compression:
Stored size: 606 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::Beta::Button.new(data: { "close-dialog-id": "my-dialog" })) { "Cancel" } %> <%= render(Primer::Beta::Button.new(scheme: :primary)) { "Submit" } %> <% end %> </form> <% end %>
Version data entries
18 entries across 18 versions & 2 rubygems