Sha256: b3a8c7c2d46f6cd1e392ef82171a88d986601b12e96e9dcf03f98a571bb92c66
Contents?: true
Size: 490 Bytes
Versions: 12
Compression:
Stored size: 490 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
12 entries across 12 versions & 1 rubygems