Skip to content

Commit

Permalink
update behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
zacksleo committed Jul 24, 2017
1 parent 3ee2939 commit ff49476
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/behaviors/UploadBehavior.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ public function afterSave()
}
}
}
}
}
2 changes: 1 addition & 1 deletion src/views/default/_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
) ?>
<?= $form->field($model, 'description')->textarea(['maxlength' => true]) ?>
<div class="form-group">
<?= Html::submitButton(Yii::t('yii',$model->isNewRecord ? 'Create' : 'Update'), ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?>
<?= Html::submitButton(Yii::t('yii', $model->isNewRecord ? 'Create' : 'Update'), ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?>
</div>
<?php ActiveForm::end(); ?>
</div>

0 comments on commit ff49476

Please sign in to comment.