<%= t('page.showing', model: t('activerecord.models.user_import_file')) -%>

<%= notice %>

Id: <%= @user_import_file.id -%>

<% if @user_import_file.user_import_file_name %>

<%= t('activerecord.attributes.user_import_file.user_import_file_name') -%>: <%= link_to @user_import_file.user_import_file_name, user_import_file_path(@user_import_file, format: :download) %> (<%= @user_import_file.user_import_content_type -%>)

<%= t('activerecord.attributes.user_import_file.user_import_file_size') -%>: <%= @user_import_file.user_import_file_size -%>

<% end %>

<%= t('page.created_at') -%>: <%= l(@user_import_file.created_at) if @user_import_file.created_at -%>

<%= t('activerecord.attributes.user_import_file.executed_at') -%>: <%= l(@user_import_file.executed_at) if @user_import_file.executed_at -%>

<%= t('activerecord.attributes.user_import_file.edit_mode') -%>: <%= @user_import_file.edit_mode -%>

<%= t('activerecord.attributes.user_import_file.user_encoding') -%>: <%= @user_import_file.user_encoding -%>

<%= t('activerecord.attributes.user_import_file.default_user_group_id') -%>: <%= link_to @user_import_file.default_user_group.display_name.localize, @user_import_file.default_user_group if @user_import_file.default_user_group.try(:display_name) -%>

<%= t('activerecord.attributes.user_import_file.default_library_id') -%>: <%= link_to @user_import_file.default_library.display_name.localize, @user_import_file.default_library if @user_import_file.default_library.try(:display_name) -%>

<%= t('activerecord.attributes.user_import_file.state') -%>: <%= localized_state(@user_import_file.current_state) -%>

<%= t('activerecord.attributes.user_import_file.error_message') -%>: <%= @user_import_file.error_message -%>

<%= t('activerecord.models.user') -%>: <%= link_to @user_import_file.user.username, @user_import_file.user.profile if @user_import_file.user.try(:profile) -%>

<% if @user_import_results %> <%= render 'results' %> <% end %>