<?php
//$this->pageTitle=Yii::app()->name . ' - ' . TranslateCsvModule::t('Import / Export');

?>

<div class="flash-notice">
    <p><?php echo tt('Import from *.csv, *.zip:', 'iecsv'); ?></p>
    <p><?php echo tt('Supported file *.csv encoding is UTF-8 without BOM.', 'iecsv'); ?></p>
    <p><a target="_blank"
          href="<?php echo Yii::app()->getBaseUrl(true); ?>/common/files/translate_csv_example.csv"><?php echo tt('Example CSV file'); ?></a>
    </p>
</div>

<div class="form">
    <?php
    echo CHtml::form($this->createAbsoluteUrl('/translateCsv/backend/main/import'), 'post', array('enctype' => 'multipart/form-data', 'id' => 'import-form', 'name' => 'import-form', 'class' => 'well'));
    echo CHtml::activeFileField($model, 'import');

    ?>
    <div class="form-group buttons">
        <?php
        echo AdminLteHelper::getSubmitButton(tt('Import'));

        ?>
    </div>

    <?php echo CHtml::endForm(); ?>
</div><!-- form -->