{*
 * Copyright (c) 2004-2014 OIC Group, Inc.
 *
 * This file is part of Exponent
 *
 * Exponent is free software; you can redistribute
 * it and/or modify it under the terms of the GNU
 * General Public License as published by the Free
 * Software Foundation; either version 2 of the
 * License, or (at your option) any later version.
 *
 * GPL: http://www.gnu.org/licenses/gpl.txt
 *
 *}
 
<div class="module importexport import-product">
    <h1>{"Upload Your"|gettext} {$type->basemodel_name|capitalize} {"File to Import"|gettext}</h1>
    <blockquote>
        {'This CSV file can be created using the E-commerce, Reports, Build a Product Report menu item and then selecting Export Products to CSV'|gettext}{br}
        {icon class=export controller=report action=product_report }
    </blockquote>
    {form action=importProduct}
        {control type="hidden" name="import_type" value=$type->baseclassname}
        {* control type=files name=import_file label="Upload .csv File to Import"|gettext limit=1 subtype="import_file" *}
        {*<input type="file" name="import_file" size="50">*}
        {control type=uploader name=import_file size="50"}
        {control type="buttongroup" submit="Import"|gettext|cat:"!" cancel="Cancel"|gettext}
    {/form}
    {br}
</div>
