chinese-journal/yii/protected/views/site/dictionary.php

31 lines
662 B
PHP
Raw Normal View History

2014-11-26 20:18:59 +00:00
<?php
$this->pageTitle=Yii::t('app', Yii::app()->name) . ' - ' . Yii::t('app', 'Dictionary');
?>
<h1><?=Yii::t('app', 'Dictionary')?></h1>
<p><?=Yii::t('app', 'Please enter request:')?></p>
<div class="form">
<?php $form=$this->beginWidget('CActiveForm', array(
'id'=>'login-form',
'enableClientValidation'=>true,
'clientOptions'=>array(
'validateOnSubmit'=>true,
),
)); ?>
<div class="row">
<?php echo $form->textField($model,'request'); ?>
<?php echo $form->error($model,'request'); ?>
</div>
<div class="row buttons">
<?php echo CHtml::submitButton(Yii::t('app', 'Search')); ?>
</div>
<?php $this->endWidget(); ?>
</div><!-- form -->