You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							36 lines
						
					
					
						
							1.2 KiB
						
					
					
				
			
		
		
	
	
							36 lines
						
					
					
						
							1.2 KiB
						
					
					
				| <?php | |
|  | |
| use core\entities\post\Post; | |
| use core\forms\post\PostCommentEditForm; | |
| use yii\helpers\Html; | |
| use yii\bootstrap\ActiveForm; | |
|  | |
| /* @var $this yii\web\View */ | |
| /* @var $post Post */ | |
| /* @var $model PostCommentEditForm */ | |
|  | |
| $this->title = Yii::t('post', 'Update Post Comment: {name}', ['name' => $post->title]); | |
| $this->params['breadcrumbs'][] = ['label' => Yii::t('post', 'Comment'), 'url' => ['index']]; | |
| $this->params['breadcrumbs'][] = ['label' => $post->title, 'url' => ['view', 'id' => $post->id]]; | |
| $this->params['breadcrumbs'][] = Yii::t('buttons', 'Editing'); | |
| ?> | |
| <div class="post-update"> | |
|  | |
|     <?php $form = ActiveForm::begin([ | |
|         'options' => ['enctype'=>'multipart/form-data'] | |
|     ]); ?> | |
|  | |
|     <div class="box box-default"> | |
|         <div class="box-header with-border"><?= Yii::t('post', 'Common') ?></div> | |
|         <div class="box-body"> | |
|             <?= $form->field($model, 'parentId')->textInput() ?> | |
|             <?= $form->field($model, 'text')->textarea(['rows' => 20]) ?> | |
|         </div> | |
|     </div> | |
|  | |
|     <div class="form-group"> | |
|         <?= Html::submitButton(Yii::t('buttons', 'Save'), ['class' => 'btn btn-success']) ?> | |
|     </div> | |
|  | |
|     <?php ActiveForm::end(); ?> | |
| </div>
 | |
| 
 |