1
0

Added Managing and viewing of ProgramUpdates

This commit is contained in:
2014-06-16 19:00:20 +02:00
parent 006cf76ff9
commit a037c1c65d
13 changed files with 607 additions and 273 deletions

View File

@@ -0,0 +1,37 @@
<?php
/* @var $this ProgramUpdatesController */
/* @var $model ProgramUpdates */
/* @var $form TbActiveForm */
?>
<div class="form">
<?php $form=$this->beginWidget('bootstrap.widgets.TbActiveForm', array(
'id'=>'program-updates-form',
// Please note: When you enable ajax validation, make sure the corresponding
// controller action is handling ajax validation correctly.
// There is a call to performAjaxValidation() commented in generated controller code.
// See class documentation of CActiveForm for details on this.
'enableAjaxValidation'=>false,
)); ?>
<p class="help-block">Fields with <span class="required">*</span> are required.</p>
<?php echo $form->errorSummary($model); ?>
<?php echo $form->textFieldControlGroup($model,'Name',array('span'=>5,'maxlength'=>64)); ?>
<?php echo $form->textAreaControlGroup($model,'Version',array('rows'=>6,'span'=>8)); ?>
<?php echo $form->textAreaControlGroup($model,'Link',array('rows'=>6,'span'=>8)); ?>
<div class="form-actions">
<?php echo TbHtml::submitButton($model->isNewRecord ? 'Create' : 'Save',array(
'color'=>TbHtml::BUTTON_COLOR_PRIMARY,
'size'=>TbHtml::BUTTON_SIZE_LARGE,
)); ?>
</div>
<?php $this->endWidget(); ?>
</div><!-- form -->