Website is working!
This commit is contained in:
1 parent
c978ba8e19
commit
2ed0710575
24 files changed
+644
-119
No files matched your search
@@ -2,6 +2,8 @@
|
||||
/* @var $this AddPostFormController */
|
||||
/* @var $model AddPostForm */
|
||||
/* @var $form CActiveForm */
|
||||
|
||||
$this->pageTitle=Yii::t('app', Yii::app()->name) . ' - ' . Yii::t('app', 'Add post');
|
||||
?>
|
||||
|
||||
<div class="form">
|
||||
@@ -16,10 +18,10 @@
|
||||
'htmlOptions' => array('enctype' => 'multipart/form-data'),
|
||||
)); ?>
|
||||
|
||||
<p class="note">Fields with <span class="required">*</span> are required.</p>
|
||||
|
||||
<?php echo $form->errorSummary($model); ?>
|
||||
|
||||
<p class="note"><?=Yii::t('app', 'Fields with {*} are required.', array('{*}'=>'<span class="required">*</span>'))?></p>
|
||||
|
||||
<?php echo $form->errorSummary($model, Yii::t('app', 'Please, fix following errors:')); ?>
|
||||
|
||||
<div class="row">
|
||||
<?php echo $form->labelEx($model,'title'); ?>
|
||||
<?php echo $form->textField($model,'title'); ?>
|
||||
@@ -39,7 +41,7 @@
|
||||
</div>
|
||||
|
||||
<div class="row buttons">
|
||||
<?php echo CHtml::submitButton('Submit'); ?>
|
||||
<?php echo CHtml::submitButton(Yii::t('app', 'Send')); ?>
|
||||
</div>
|
||||
|
||||
<?php $this->endWidget(); ?>
|
||||
|
||||
Reference in new issue
Block a user