예제 #1
0
	<div class="col-md-6 col-md-offset-3">

		<?php 
echo $form->field($model, 'name')->textInput(['maxlength' => true]);
?>

		<?php 
echo $form->field($model, 'code')->textInput(['maxlength' => true]);
?>

		<?php 
echo $form->field($model, 'country')->textInput(['maxlength' => true]);
?>

		<?php 
echo $form->field($model, 'status')->dropDownList([0 => Translate::not_in_use(), 1 => Translate::in_use()], ['prompt' => Translate::choose_status()]);
?>

	</div>
</div>
<div class="clearfix form-actions">
	<div class="col-md-offset-3 col-md-6">
		<button class="btn btn-info" type="submit">
			<i class="ace-icon fa fa-check bigger-110"></i>
			<?php 
echo Translate::save();
?>
		</button>
		<button class="btn btn-back" type="reset">
			<i class="ace-icon fa fa-arrow-left bigger-110"></i>
			<?php