<?php

use yii\helpers\Html;
use yii\widgets\ActiveForm;

/* @var $this yii\web\View */
/* @var $model backend\models\Licensechecksbe */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="licensechecksbe-form">


    <?php $form = ActiveForm::begin(); ?>

<div class="card card-default">
	<div class="card card-header">License Check</div>
	<div class="card card-body">
		<div class="row">
			<div class="col-sm-12 h4">
				Please go to the Following Link <?= HTML::A('create a Key', 'https://www.viewdrivingrecord.service.gov.uk/driving-record/licence-number', ['target' => '_blank']) ?> and complete the request for a shared license key and enter the key below.
			</div>

		</div>
		<div class="row">
			<div class='col-sm-2'>Employee</div>
			<div class='col-sm-4'><?= $form->field($model, 'employee')->dropdownlist($employees, ['id'=>'employee', 'prompt' => 'Please Select', 'disabled' => true])->label(false)  ?></div>
			<div class='col-sm-2'>Shared Key</div>
			<div class='col-sm-4'><?= $form->field($model, 'sharedkey')->textInput()->label(false) ?></div>
		</div>
	</div>
	
</div>
    <div class="form-group">
        <?= Html::submitButton('Save', ['class' => 'btn btn-primary']) ?>
        <?= Html::A('Later', Yii::$app->request->referrer, ['class' => 'btn btn-primary']) ?>
    </div>

    <?php ActiveForm::end(); ?>

</div>
