Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <?php
  2. use yii\helpers\Html;
  3. use yii\widgets\ActiveForm;
  4. use common\models\Developpement ;
  5. /* @var $this yii\web\View */
  6. /* @var $model common\models\Developpement */
  7. /* @var $form yii\widgets\ActiveForm */
  8. ?>
  9. <div class="developpement-form">
  10. <?php $form = ActiveForm::begin(); ?>
  11. <?= $form->field($model, 'type')->dropDownList([
  12. Developpement::TYPE_EVOLUTION => 'Évolution',
  13. Developpement::TYPE_BUG => 'Anomalie',
  14. ]) ?>
  15. <?= $form->field($model, 'statut')->dropDownList([
  16. Developpement::STATUT_OPEN => 'Ouvert',
  17. Developpement::STATUT_CLOSED => 'Fermé',
  18. ]) ?>
  19. <?= $form->field($model, 'objet')->textInput(['maxlength' => true]) ?>
  20. <?= $form->field($model, 'description')->textarea(['rows' => 6]) ?>
  21. <?= $form->field($model, 'estimation_temps')->textInput() ?>
  22. <?= $form->field($model, 'avancement')->textInput() ?>
  23. <?= $form->field($model, 'date_livraison')->textInput() ?>
  24. <div class="form-group">
  25. <?= Html::submitButton($model->isNewRecord ? 'Ajouter' : 'Modifier', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?>
  26. </div>
  27. <?php ActiveForm::end(); ?>
  28. </div>