bashgid/web/protected/views/video/_search.php

50 lines
1.2 KiB
PHP
Raw Normal View History

2015-06-26 10:03:20 +00:00
<?php
/* @var $this VideoController */
/* @var $model Video */
/* @var $form CActiveForm */
?>
<div class="wide form">
<?php $form=$this->beginWidget('CActiveForm', array(
'action'=>Yii::app()->createUrl($this->route),
'method'=>'get',
)); ?>
<div class="row">
<?php echo $form->label($model,'id'); ?>
<?php echo $form->textField($model,'id'); ?>
</div>
<div class="row">
<?php echo $form->label($model,'type'); ?>
<?php echo $form->textField($model,'type'); ?>
</div>
<div class="row">
<?php echo $form->label($model,'videoUrl'); ?>
<?php echo $form->textArea($model,'videoUrl',array('rows'=>6, 'cols'=>50)); ?>
</div>
<div class="row">
<?php echo $form->label($model,'title'); ?>
<?php echo $form->textArea($model,'title',array('rows'=>6, 'cols'=>50)); ?>
</div>
<div class="row">
<?php echo $form->label($model,'description'); ?>
<?php echo $form->textArea($model,'description',array('rows'=>6, 'cols'=>50)); ?>
</div>
<div class="row">
<?php echo $form->label($model,'previewImageUrl'); ?>
<?php echo $form->textArea($model,'previewImageUrl',array('rows'=>6, 'cols'=>50)); ?>
</div>
<div class="row buttons">
<?php echo CHtml::submitButton('Search'); ?>
</div>
<?php $this->endWidget(); ?>
</div><!-- search-form -->