<div class="autoscroll">
<fieldset class="box">
  <legend><%= l(:label_file_content_preview) %></legend>

    <table class="sample-data">
    <% @import.first_rows.each do |row| %>
      <tr>
        <%= row.map {|c| content_tag 'td', truncate(c.to_s, :length => 50) }.join("").html_safe %>
      </tr>
    <% end %>
    </table>
</fieldset>
</div>

<p>
  <%= button_tag("\xc2\xab " + l(:label_previous), :name => 'previous') %>
  <%= submit_tag l(:button_import) %>
</p>
