Beispiel #1
0
" maxlength="128">
					<input type='button' class='form-control' style="display: inline-block;width:60px;" value='浏览...' /> 
					<input type="file" name="Content[thumb]" class="file" onchange="document.getElementById('content-thumb').value=getFilePath(this);" /> 
				</div>
				
	
				<div class="help-block"></div>
			</div>
		

		</div>

		<div class="col-md-3 form-horizontal" >
	
			<?php 
echo $form->field($model, 'status')->dropDownList(Content::getStatuses());
?>
			<?php 
echo $form->field($model, 'visibility')->dropDownList(Content::getVisibilities());
?>
			
			<?php 
echo $form->field($model, 'password')->passwordInput(['maxlength' => 64]);
?>
		
		    
		
		    <?php 
echo $form->field($model, 'allow_comment')->checkbox([], false);
?>