add reception changes

This commit is contained in:
2015-09-29 09:02:53 +02:00
parent 2bcaee18de
commit cee219ed14
7 changed files with 128 additions and 28 deletions

View File

@@ -0,0 +1,36 @@
<?php
namespace frontend\models;
use Yii;
use yii\base\Model;
/**
* ContactForm is the model behind the contact form.
*/
class ReceptionForm extends Model
{
public $number;
/**
* @inheritdoc
*/
public function rules()
{
return [
[['number'], 'required'],
];
}
/**
* @inheritdoc
*/
public function attributeLabels()
{
return [
'verifyCode' => 'Verification Code',
];
}
}