Difference between #4 and #5 of
Create/Develop View files with plain HTML (Without using ActiveForm Class)

Revision #5 has been created by kalpit on Dec 3, 2013, 1:25:31 PM with the memo:

changed form action url
« previous (#4) next (#6) »

Changes

Title unchanged

Create/Develop View files with plain HTML (Without using ActiveForm Class)

Category unchanged

How-tos

Yii version unchanged

Tags unchanged

views, tutorial

Content changed

[...]
```php
<?php
$error= $model->getErrors();
?>
<form method="post" action="<?php echo Yii::app()->
getBaseUrl(true).'/index.php/admincreateUrl(array('/user/create')); ?>" enctype="multipart/form-data">
<div class="row">
<label>Email</label>
<input type="text" name="email" value="<?php echo $model->email; ?>"/>
<span><?php if(isset($error['email'])) echo $error['email'][0]; ?></span>
</div>
[...]
2 2
6 followers
Viewed: 22 303 times
Version: 1.1
Category: How-tos
Written by: kalpit
Last updated by: CeBe
Created on: Nov 28, 2013
Last updated: 10 years ago
Update Article

Revisions

View all history