Sha256: 45ebab4f54f83a10f278b8dec9c8fb32fd9dd52ebb43b0bb849f607f35c49df7

Contents?: true

Size: 809 Bytes

Versions: 34

Compression:

Stored size: 809 Bytes

Contents

%tr
  %td
    %h1= t('workarea.admin.data_file_mailer.import_failure.message', name: @import.file_name)
    %p= t('workarea.admin.data_file_mailer.import_failure.failed', failed: @import.failed, count: pluralize(@import.total, @import.format.unit.downcase))

    %table
      %tr
        %td
          %h2= t('workarea.admin.data_file_mailer.import_failure.errors')

          %ul
            - @import.file_errors.each do |key, errors|
              - errors.each do |field, values|
                %li
                  %strong= key
                  %span -
                  %code= field
                  %span= values.to_sentence

%tr
  %td
    %p= link_to t('workarea.admin.data_file_mailer.import_failure.link_text', name: @import.name.pluralize), index_url_for(@import.model_class, only_path: false)

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
workarea-admin-3.4.25 app/views/workarea/admin/data_file_mailer/import_failure.html.haml
workarea-admin-3.4.24 app/views/workarea/admin/data_file_mailer/import_failure.html.haml
workarea-admin-3.4.23 app/views/workarea/admin/data_file_mailer/import_failure.html.haml
workarea-admin-3.4.22 app/views/workarea/admin/data_file_mailer/import_failure.html.haml
workarea-admin-3.4.21 app/views/workarea/admin/data_file_mailer/import_failure.html.haml
workarea-admin-3.4.20 app/views/workarea/admin/data_file_mailer/import_failure.html.haml
workarea-admin-3.4.19 app/views/workarea/admin/data_file_mailer/import_failure.html.haml
workarea-admin-3.4.18 app/views/workarea/admin/data_file_mailer/import_failure.html.haml
workarea-admin-3.4.17 app/views/workarea/admin/data_file_mailer/import_failure.html.haml
workarea-admin-3.4.16 app/views/workarea/admin/data_file_mailer/import_failure.html.haml
workarea-admin-3.4.15 app/views/workarea/admin/data_file_mailer/import_failure.html.haml
workarea-admin-3.4.14 app/views/workarea/admin/data_file_mailer/import_failure.html.haml
workarea-admin-3.4.13 app/views/workarea/admin/data_file_mailer/import_failure.html.haml
workarea-admin-3.4.12 app/views/workarea/admin/data_file_mailer/import_failure.html.haml