<?php

use yii\helpers\Html;
//use yii\bootstrap\Alert;


/* @var $this yii\web\View */
/* @var $model app\models\Auclots */

$this->title = Yii::t('app', 'CreateAuction ID');
$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Auction ID'), 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;

//$this->registerJsFile('js/auclots.js',['depends'=>'app\assets\AppAsset']);
?>

<div class="panel panel-primary">
    <div class="panel-heading"><span class="glyphicon glyphicon-inbox"></span><strong> <?= Html::encode($this->title) ?></strong></div>
    <div class="panel-body">

        <div class="auclots-create">

            <?php
            /*
            if($model->RequisiteValid()==false)
            {
                echo Alert::widget([
                    'options' => [
                        'class' => 'alert-danger'
                    ],
                    'body' => Yii::t('app', 'noRequisites ID')
                ]);
                echo Html::a(\Yii::t('app', 'Create ID'). ' ' .\Yii::t('app', 'Requisites ID'), ['/requisites/index'], ['class' => 'btn btn-success']);
            }
*/
            ?>
            <?= $this->render('_form', [
                'model' => $model,
            ]) ?>

        </div>
    </div>
</div>