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

Version Path
openproject-primer_view_components-0.52.2 previews/primer/open_project/feedback_dialog_preview/with_custom_footer.html.erb
openproject-primer_view_components-0.52.1 previews/primer/open_project/feedback_dialog_preview/with_custom_footer.html.erb
openproject-primer_view_components-0.52.0 previews/primer/open_project/feedback_dialog_preview/with_custom_footer.html.erb
openproject-primer_view_components-0.51.0 previews/primer/open_project/feedback_dialog_preview/custom_footer.html.erb
openproject-primer_view_components-0.50.1 previews/primer/open_project/feedback_dialog_preview/custom_footer.html.erb
openproject-primer_view_components-0.50.0 previews/primer/open_project/feedback_dialog_preview/custom_footer.html.erb
openproject-primer_view_components-0.49.2 previews/primer/open_project/feedback_dialog_preview/custom_footer.html.erb
openproject-primer_view_components-0.49.1 previews/primer/open_project/feedback_dialog_preview/custom_footer.html.erb
openproject-primer_view_components-0.49.0 previews/primer/open_project/feedback_dialog_preview/custom_footer.html.erb