Commit 5034d186 by Junaid Rahman pv

modified field size

parent 951ccd96
...@@ -46,7 +46,8 @@ $this->params['breadcrumbs'][] = $this->title; ...@@ -46,7 +46,8 @@ $this->params['breadcrumbs'][] = $this->title;
// 'created_at', // 'created_at',
// 'updated_at', // 'updated_at',
['class' => 'yii\grid\ActionColumn'], ['class' => 'yii\grid\ActionColumn',
'template' => '{update}{delete}'],
], ],
]); ?> ]); ?>
</div> </div>
...@@ -14,21 +14,21 @@ use yii\widgets\ActiveForm; ...@@ -14,21 +14,21 @@ use yii\widgets\ActiveForm;
<?php $form = ActiveForm::begin(); ?> <?php $form = ActiveForm::begin(); ?>
<div class="row"> <div class="row">
<div class="col-md-6"> <div class="col-md-3">
<?= $form->field($model, 'state_id')->dropDownList($states) ?> <?= $form->field($model, 'state_id')->dropDownList($states) ?>
</div> </div>
</div> </div>
<div class="row"> <div class="row">
<div class="col-md-6"> <div class="col-md-3">
<?= $form->field($model, 'name')->textInput(['maxlength' => true]) ?> <?= $form->field($model, 'name')->textInput(['maxlength' => true]) ?>
</div> </div>
</div> </div>
<div class="row"> <div class="row">
<div class="col-md-6"> <div class="col-md-3">
<?= $form->field($model, 'slug')->textInput(['maxlength' => true]) ?> <?= $form->field($model, 'slug')->textInput(['maxlength' => true]) ?>
......
...@@ -13,14 +13,14 @@ use yii\widgets\ActiveForm; ...@@ -13,14 +13,14 @@ use yii\widgets\ActiveForm;
<?php $form = ActiveForm::begin(); ?> <?php $form = ActiveForm::begin(); ?>
<div class="row"> <div class="row">
<div class="col-md-6"> <div class="col-md-3">
<?= $form->field($model, 'name')->textInput(['maxlength' => true]) ?> <?= $form->field($model, 'name')->textInput(['maxlength' => true]) ?>
</div> </div>
</div> </div>
<div class="row"> <div class="row">
<div class="col-md-6"> <div class="col-md-3">
<?= $form->field($model, 'slug')->textInput(['maxlength' => true]) ?> <?= $form->field($model, 'slug')->textInput(['maxlength' => true]) ?>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment