Skip to content

Commit

Permalink
commit
Browse files Browse the repository at this point in the history
  • Loading branch information
PutraSudaryanto committed Jul 29, 2018
1 parent caee9a8 commit 4a53f0f
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"php": ">=5.3.2",
"oomphinc/composer-installers-extender": "^1.0",
"yiisoft/yii": ">=1.1.14",
"yiiext/imperavi-redactor-widget": "^1.3.10",
"yiiext/imperavi-redactor-widget": "~1.3",
"ommu/yii-sluggable": "~1.0",
"ommu/phpmailer": "~0.1"
}
Expand Down
6 changes: 3 additions & 3 deletions views/o/category/_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@

<div class="form-group row">
<?php echo $form->labelEx($model, 'name_i', array('class'=>'col-form-label col-lg-3 col-md-3 col-sm-12')); ?>
<div class="col-lg-6 col-md-9 col-sm-12">
<div class="col-lg-9 col-md-9 col-sm-12">
<?php echo $form->textField($model, 'name_i', array('maxlength'=>32, 'class'=>'form-control')); ?>
<?php echo $form->error($model, 'name_i'); ?>
</div>
</div>

<div class="form-group row">
<?php echo $form->labelEx($model, 'cat_icon', array('class'=>'col-form-label col-lg-3 col-md-3 col-sm-12')); ?>
<div class="col-lg-6 col-md-9 col-sm-12">
<div class="col-lg-9 col-md-9 col-sm-12">
<?php echo $form->textField($model, 'cat_icon', array('maxlength'=>32, 'class'=>'form-control')); ?>
<?php echo $form->error($model, 'cat_icon'); ?>
</div>
Expand All @@ -51,7 +51,7 @@
<?php if($model->publish != 2) {?>
<div class="form-group row publish">
<?php echo $form->labelEx($model, 'publish', array('class'=>'col-form-label col-lg-3 col-md-3 col-sm-12')); ?>
<div class="col-lg-6 col-md-9 col-sm-12">
<div class="col-lg-9 col-md-9 col-sm-12">
<?php echo $form->checkBox($model, 'publish', array('class'=>'form-control')); ?>
<?php echo $form->labelEx($model, 'publish'); ?>
<?php echo $form->error($model, 'publish'); ?>
Expand Down
6 changes: 3 additions & 3 deletions views/o/contact/_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
if($model->category->publish != '2') {?>
<div class="form-group row">
<label class="col-form-label col-lg-3 col-md-3 col-sm-12"><?php echo $model->getAttributeLabel('cat_id');?> <span class="required">*</span></label>
<div class="col-lg-6 col-md-9 col-sm-12">
<div class="col-lg-9 col-md-9 col-sm-12">
<?php
if($model->isNewRecord) {
$category = SupportContactCategory::getCategory(1, 'contact');
Expand All @@ -57,7 +57,7 @@
<?php } else {?>
<label class="col-form-label col-lg-3 col-md-3 col-sm-12"><?php echo $model->category->title->message;?> <span class="required">*</span></label>
<?php }?>
<div class="col-lg-6 col-md-9 col-sm-12">
<div class="col-lg-9 col-md-9 col-sm-12">
<?php echo $form->textArea($model, 'contact_name', array('rows'=>6, 'cols'=>50, 'class'=>'form-control smaller')); ?>
<?php echo $form->error($model, 'contact_name'); ?>
</div>
Expand All @@ -66,7 +66,7 @@
<?php if($model->category->publish != '2') {?>
<div class="form-group row publish">
<?php echo $form->labelEx($model, 'publish', array('class'=>'col-form-label col-lg-3 col-md-3 col-sm-12')); ?>
<div class="col-lg-6 col-md-9 col-sm-12">
<div class="col-lg-9 col-md-9 col-sm-12">
<?php echo $form->checkBox($model, 'publish', array('class'=>'form-control')); ?>
<?php echo $form->labelEx($model, 'publish'); ?>
<?php echo $form->error($model, 'publish'); ?>
Expand Down
12 changes: 6 additions & 6 deletions views/o/feedback/_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,31 +52,31 @@

<div class="form-group row">
<?php echo $form->labelEx($model, 'displayname', array('class'=>'col-form-label col-lg-3 col-md-3 col-sm-12')); ?>
<div class="col-lg-6 col-md-9 col-sm-12">
<div class="col-lg-9 col-md-9 col-sm-12">
<?php echo $form->textField($model, 'displayname', array('maxlength'=>32, 'class'=>'form-control'));?>
<?php echo $form->error($model, 'displayname');?>
</div>
</div>

<div class="form-group row">
<?php echo $form->labelEx($model, 'email', array('class'=>'col-form-label col-lg-3 col-md-3 col-sm-12')); ?>
<div class="col-lg-6 col-md-9 col-sm-12">
<div class="col-lg-9 col-md-9 col-sm-12">
<?php echo $form->textField($model, 'email', array('maxlength'=>32, 'class'=>'form-control')); ?>
<?php echo $form->error($model, 'email'); ?>
</div>
</div>

<div class="form-group row">
<?php echo $form->labelEx($model, 'phone', array('class'=>'col-form-label col-lg-3 col-md-3 col-sm-12')); ?>
<div class="col-lg-6 col-md-9 col-sm-12">
<div class="col-lg-9 col-md-9 col-sm-12">
<?php echo $form->textField($model, 'phone', array('maxlength'=>15, 'class'=>'form-control')); ?>
<?php echo $form->error($model, 'phone'); ?>
</div>
</div>

<div class="form-group row">
<?php echo $form->labelEx($model, 'subject_id', array('class'=>'col-form-label col-lg-3 col-md-3 col-sm-12')); ?>
<div class="col-lg-6 col-md-9 col-sm-12">
<div class="col-lg-9 col-md-9 col-sm-12">
<?php
$subjects = SupportFeedbackSubject::getSubject();
if($subjects != null)
Expand All @@ -89,15 +89,15 @@

<div id="subject_i" class="form-group row hide">
<?php echo $form->labelEx($model, 'subject_i', array('class'=>'col-form-label col-lg-3 col-md-3 col-sm-12')); ?>
<div class="col-lg-6 col-md-9 col-sm-12">
<div class="col-lg-9 col-md-9 col-sm-12">
<?php echo $form->textField($model, 'subject_i', array('maxlength'=>64, 'class'=>'form-control'));?>
<?php echo $form->error($model, 'subject_i');?>
</div>
</div>

<div class="form-group row">
<?php echo $form->labelEx($model, 'message', array('class'=>'col-form-label col-lg-3 col-md-3 col-sm-12')); ?>
<div class="col-lg-6 col-md-9 col-sm-12">
<div class="col-lg-9 col-md-9 col-sm-12">
<?php //echo $form->textArea($model, 'message', array('rows'=>6, 'cols'=>50, 'class'=>'form-control'));
$this->widget('yiiext.imperavi-redactor-widget.ImperaviRedactorWidget', array(
'model'=>$model,
Expand Down
6 changes: 3 additions & 3 deletions views/o/subject/_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@

<div class="form-group row">
<?php echo $form->labelEx($model, 'parent_id', array('class'=>'col-form-label col-lg-3 col-md-3 col-sm-12')); ?>
<div class="col-lg-6 col-md-9 col-sm-12">
<div class="col-lg-9 col-md-9 col-sm-12">
<?php
$subjects = SupportFeedbackSubject::getSubject();
if($subjects != null)
Expand All @@ -51,15 +51,15 @@

<div class="form-group row">
<?php echo $form->labelEx($model, 'subject_name_i', array('class'=>'col-form-label col-lg-3 col-md-3 col-sm-12')); ?>
<div class="col-lg-6 col-md-9 col-sm-12">
<div class="col-lg-9 col-md-9 col-sm-12">
<?php echo $form->textField($model, 'subject_name_i', array('maxlength'=>64, 'class'=>'form-control')); ?>
<?php echo $form->error($model, 'subject_name_i'); ?>
</div>
</div>

<div class="form-group row publish">
<?php echo $form->labelEx($model, 'publish', array('class'=>'col-form-label col-lg-3 col-md-3 col-sm-12')); ?>
<div class="col-lg-6 col-md-9 col-sm-12">
<div class="col-lg-9 col-md-9 col-sm-12">
<?php echo $form->checkBox($model, 'publish', array('class'=>'form-control')); ?>
<?php echo $form->labelEx($model, 'publish'); ?>
<?php echo $form->error($model, 'publish'); ?>
Expand Down
6 changes: 3 additions & 3 deletions views/o/widget/_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
if($category != null) {?>
<div class="form-group row">
<label class="col-form-label col-lg-3 col-md-3 col-sm-12"><?php echo $model->getAttributeLabel('cat_id');?> <span class="required">*</span></label>
<div class="col-lg-6 col-md-9 col-sm-12">
<div class="col-lg-9 col-md-9 col-sm-12">
<?php
if($model->isNewRecord) {
$category = SupportContactCategory::getCategory(1, 'contact');
Expand All @@ -57,15 +57,15 @@

<div class="form-group row">
<?php echo $form->labelEx($model, 'widget_source', array('class'=>'col-form-label col-lg-3 col-md-3 col-sm-12')); ?>
<div class="col-lg-6 col-md-9 col-sm-12">
<div class="col-lg-9 col-md-9 col-sm-12">
<?php echo $form->textArea($model, 'widget_source', array('rows'=>6, 'cols'=>50,'class'=>'form-control')); ?>
<?php echo $form->error($model, 'widget_source'); ?>
</div>
</div>

<div class="form-group row publish">
<?php echo $form->labelEx($model, 'publish', array('class'=>'col-form-label col-lg-3 col-md-3 col-sm-12')); ?>
<div class="col-lg-6 col-md-9 col-sm-12">
<div class="col-lg-9 col-md-9 col-sm-12">
<?php echo $form->checkBox($model, 'publish', array('class'=>'form-control')); ?>
<?php echo $form->labelEx($model, 'publish'); ?>
<?php echo $form->error($model, 'publish'); ?>
Expand Down

0 comments on commit 4a53f0f

Please sign in to comment.