Sha256: d503aa0f81e74e1549f778548c048f2a06deab784c49592f864c39ea6ed4afd1
Contents?: true
Size: 489 Bytes
Versions: 9
Compression:
Stored size: 489 Bytes
Contents
<%= render(Primer::OpenProject::FeedbackDialog.new(id: "my-dialog")) do |dialog| %> <% dialog.with_show_button { "Click me" } %> <% dialog.with_feedback_message do |message| %> <% message.with_heading(tag: :h2).with_content("Action successful") %> <% end %> <% dialog.with_footer do %> <%= render(Primer::Beta::Button.new("data-close-dialog-id": "my-dialog")) { "Cancel" } %> <%= render(Primer::Beta::Button.new(scheme: :primary)) { "Accept" } %> <% end %> <% end %>
Version data entries
9 entries across 9 versions & 1 rubygems