Sha256: 4551c05f5e7269c0a3cc9c8c40eb5a721938df74e753b36f5fb60f11bd3c193d
Contents?: true
Size: 1.28 KB
Versions: 2
Compression:
Stored size: 1.28 KB
Contents
<h2><%= t('activerecord.models.user_import_result') %></h2> <p> <%= link_to((image_tag 'icons/page_white_excel.png', size: '16x16', class: 'enju_icon', alt: 'TSV'), user_import_results_path(user_import_file_id: @user_import_file.id, format: :text, locale: @locale.to_s)) -%> (<%= link_to 'TSV', user_import_results_path(user_import_file_id: @user_import_file.id, format: :text, locale: @locale.to_s) -%>) </p> <table class="table table-striped index"> <tr> <th><%= t('activerecord.attributes.user_import_result.lineno') %></th> <th><%= t('activerecord.attributes.user_import_result.body') %></th> <th><%= t('activerecord.models.user') %></th> <th></th> </tr> <% @user_import_results.each_with_index do |user_import_result, idx| %> <tr class="line<%= cycle("0", "1") -%>"> <td><%= @user_import_results.offset_value + idx + 1 %></td> <td><%= user_import_result.body.inspect %></td> <td><%= link_to user_import_result.user.username, user_import_result.user.profile if user_import_result.user.try(:profile) %></td> <td> <%= link_to t('page.show'), user_import_result %> <%= link_to t('page.destroy'), user_import_result, data: {confirm: t('page.are_you_sure')}, method: :delete %> </td> </tr> <% end %> </table> <%= paginate(@user_import_results) %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
enju_library-0.3.11 | app/views/user_import_files/_results.html.erb |
enju_library-0.3.10 | app/views/user_import_files/_results.html.erb |