示例#1
0
文件: update.php 项目: kittolau/gcm
<?php

$this->pageTitle = Yii::app()->name . ' - User Update';
CHtml::$afterRequiredLabel = '<span class="required"> (必須)</span>';
JSHelper::lockSubmitButtonOnSubmit();
JSHelper::preventEnterKeySubmit();
JSHelper::ApplyServersideValidationErrorToInputField();
?>

<ol class="breadcrumb">
        <li class="active"> <span class="glyphicon glyphicon-chevron-down"></span>個人資料更新</li>
</ol>
		
    <div class="row">
    <div class="col-md-4 col-md-push-7" style="">
 
    </div>
    <div class="col-md-7 col-md-pull-4" style="">
        <?php 
$form = $this->beginWidget('CActiveForm', array('id' => 'userUpdate-form', 'enableClientValidation' => true, 'enableAjaxValidation' => false, 'htmlOptions' => array('class' => 'form col-md-12 center-block', 'enctype' => 'multipart/form-data', 'multiple' => 'multiple'), 'clientOptions' => JSHelper::CActiveFormClientOptionsForBSWidget(), 'focus' => array($model, 'illust_title'), 'errorMessageCssClass' => 'has-error'));
?>
        
            <div class="form-group ">
                <label >使用者名稱</label>    
                <input class="form-control" placeholder="" type="text" maxlength="50" value="<?php 
echo $model->user_name;
?>
" disabled="disabled">        
            </div>
        
            <?php