Skip to content

Commit

Permalink
form sumbit button changed
Browse files Browse the repository at this point in the history
  • Loading branch information
GiorgiB97 committed Nov 30, 2017
1 parent e9bda54 commit 0b2a36f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ function translate1( $text ) {


<div class="form-group">
<?= Html::submitButton( $model->isNewRecord ? Yii::t( 'polls', 'Send' ) : Yii::t( 'polls', 'Update' ), [ 'class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary' ] ) ?>
<?= Html::submitButton( $model->isNewRecord ? Yii::t( 'polls', 'Submit' ) : Yii::t( 'polls', 'Update' ), [ 'class' => $model->isNewRecord ? 'btn btn-info btn-brand' : 'btn btn-info btn-brand' ] ) ?>
</div>

<?php
Expand Down

0 comments on commit 0b2a36f

Please sign in to comment.