<?php
/**
* @var \FiloBlu\Flow\Block\Adminhtml\Check\Index $block
*/
?>

<form class="form" method="post" action="<?php echo $this->getUrl('flow/check/checkcsv');?>"  enctype="multipart/form-data">

    <input name="form_key" type="hidden" value="<?php /* @escapeNotVerified */ echo $block->getFormKey(); ?>" />


    <h3><?php echo __('Carica il file CSV per controllarlo') ?></h3>
    <hr/>
    <br/>
    <div class="field required">
        <label for="file_csv" class="label">
            <strong>
            <?php echo __('Seleziona il file CSV da controllare') ?>*
            </strong>
        </label>
        <br/><br/>
        <div class="control">
            <input type="file" id="file_csv"
                   name="file_csv"
                   required
                   accept=".csv">
        </div>
    </div>

    <br/>
    <hr/>
    <br/>

    <div class="actions-toolbar">
        <div class="primary">
            <button type="submit" class="action submit primary" title="<?php echo __('Check CSV') ?>">
                <span><?php echo __('Check CSV') ?></span>
            </button>
        </div>
    </div>

</form>