= $form->field($model, 'requisites_id')->dropdownList($requisites) ?>
= Html::button(Yii::t('app', 'Create Requisites'), ['value' => Url::to('/requisites/create-ajax'), 'class' => 'btn btn-success btn-block', 'id' => 'modalButton']) ;?>
= $form->field($files, 'file')->widget(FileInput::classname(), [
'model' => $files,
'pluginOptions' => [
//'allowedFileExtensions'=>['doc','docx','pdf', 'png', ],
'initialCaption'=>'*.doc *.docx *.pdf *.png *.jpg *.tiff, *.zip *rar',
'showPreview' => false,
'showCaption' => true,
'showRemove' => true,
'showUpload' => false
],
'options' => ['multiple' => false,],
])->label(Yii::t('app','ProjectDogovor ID')); ?>
= $form->field($model, 'bidding_date')->widget(DateTimePicker::className(),[
'name' => 'bidding_date',
'type' => DateTimePicker::TYPE_COMPONENT_PREPEND,
'value' => date("dd-M-yyyy hh:ii"),
//'options' => ['placeholder' => Yii::t('app','')],
'pluginOptions' => [
'autoclose'=>true,
'format' => 'yyyy-mm-dd hh:ii'
]
]) ?>
= $form->field($model, 'auction_date')->widget(DateTimePicker::className(),[
'name' => 'auction_date',
'type' => DateTimePicker::TYPE_COMPONENT_PREPEND,
'value' => date("dd-M-yyyy hh:ii"),
'options' => ['placeholder' => Yii::t('app','CreateAukDate ID')],
'pluginOptions' => [
'autoclose'=>true,
'format' => 'yyyy-mm-dd hh:ii'
]
]) ?>
= $form->field($model, 'payment_term')->textarea(/*['maxlength' => 800, 'rows' => 6, 'cols' => 50]*/) ?>
= $form->field($model, 'member_require')->textarea(/*['maxlength' => 5000, 'rows' => 50, 'cols' => 100]*/) ?>
= $form->field($model, 'term_procedure')->textarea(/*['maxlength' => 5000, 'rows' => 50, 'cols' => 100]*/) ?>
= Html::submitButton($model->isNewRecord ? Yii::t('app', 'Create ID') : Yii::t('app', 'Update ID'), ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?>
'