Sha256: 8689dd950794ebf453b3b696de546cd58d6ebfc95b166e4fe85cf786b29abff1
Contents?: true
Size: 423 Bytes
Versions: 1
Compression:
Stored size: 423 Bytes
Contents
<%= render(Yattho::Alpha::Dialog.new( title: "Dialog Example", id: "my-dialog", )) do |d| %> <% d.with_show_button { "Show Dialog" } %> <% d.with_body do %> <p>Some content</p> <% end %> <% d.footer do %> <%= render(Yattho::ButtonComponent.new(data: { "close-dialog-id": "my-dialog" })) { "Cancel" } %> <%= render(Yattho::ButtonComponent.new(scheme: :primary)) { "Submit" } %> <% end %> <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
yattho_view_components-0.0.1 | previews/docs/alpha_dialog_preview/dialog_with_cancel_and_submit_buttons.html.erb |