Sha256: 978cca1e4281373a31c8048ea6797e5f68d69c7619fd946ec88867cb1325990f

Contents?: true

Size: 415 Bytes

Versions: 2

Compression:

Stored size: 415 Bytes

Contents

<%= render(Yattho::Alpha::Dialog.new(id: "my-dialog", title: title, subtitle: subtitle)) do |d| %>
  <% d.show_button { button_text } %>
  <% d.body { "Content" } %>
  <% d.footer(show_divider: show_divider) do %>
    <%= render(Yattho::ButtonComponent.new(data: { "close-dialog-id": "my-dialog" })) { "Cancel" } %>
    <%= render(Yattho::ButtonComponent.new(scheme: :primary)) { "Submit" } %>
  <% end %>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
yattho_view_components-0.1.1 previews/yattho/alpha/dialog_preview/with_footer.html.erb
yattho_view_components-0.0.1 previews/yattho/alpha/dialog_preview/with_footer.html.erb