You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

form_actions.php 425B

1234567891011
  1. <?php
  2. use yii\helpers\Html;
  3. ?>
  4. <div class="form-group form-actions">
  5. <?= Html::a('Retour', ['index'], ['class' => 'btn btn-default']) ?>
  6. <?= Html::submitButton($model->isNewRecord ? 'Créer' : 'Modifier', ['class' => 'btn btn-primary', 'name' => 'save']) ?>
  7. <?= Html::submitButton($model->isNewRecord ? 'Créer et rester' : 'Modifier et rester', ['class' => 'btn btn-primary', 'name' => 'save-stay']) ?>
  8. </div>