Sha256: f598accdf2e644e921bd0b3ffced60c88f5ebb0a85c31b7f1fb6461daf9fd4be
Contents?: true
Size: 934 Bytes
Versions: 2
Compression:
Stored size: 934 Bytes
Contents
<%= render @dialog do |dialog| %> <danger-confirmation-dialog-form-helper> <%= render(@form_wrapper) do %> <scrollable-region data-labelled-by="<%= labelledby %>"> <%= render(Primer::Alpha::Dialog::Body.new) do %> <%= confirmation_message %> <% if additional_details? %> <%= additional_details %> <% end %> <%= confirmation_check_box %> <% end %> </scrollable-region> <%= render(Primer::Alpha::Dialog::Footer.new(show_divider: false)) do %> <%= render(Primer::Beta::Button.new(data: { "close-dialog-id": dialog_id })) { I18n.t("button_cancel") } %> <%= render(Primer::Beta::Button.new(type: (@form_wrapper.shows_form? ? :submit : :button), scheme: :danger, data: { "submit-dialog-id": dialog_id })) { I18n.t("button_delete_permanently") } %> <% end %> <% end %> </danger-confirmation-dialog-form-helper> <% end %>
Version data entries
2 entries across 2 versions & 1 rubygems