show.html.haml 761 B

123456789101112131415
  1. - content_for :page_title do
  2. = t("imports.titles.#{@bulk_import.type}")
  3. - if @bulk_import.likely_mismatched?
  4. .flash-message.warning= t('imports.mismatched_types_warning')
  5. - if @bulk_import.overwrite?
  6. %p.hint= t("imports.overwrite_preambles.#{@bulk_import.type}_html", filename: @bulk_import.original_filename, total_items: @bulk_import.total_items)
  7. - else
  8. %p.hint= t("imports.preambles.#{@bulk_import.type}_html", filename: @bulk_import.original_filename, total_items: @bulk_import.total_items)
  9. .simple_form
  10. .actions
  11. = link_to t('generic.cancel'), settings_import_path(@bulk_import), method: :delete, class: 'button button-tertiary'
  12. = link_to t('generic.confirm'), confirm_settings_import_path(@bulk_import), method: :post, class: 'button'