|
- <?php
-
-
-
- use yii\helpers\Html;
- use yii\widgets\ActiveForm;
-
- $this->setTitle('Créer un ticket') ;
- $this->addBreadcrumb(['label' => 'Support', 'url' => ['index']]) ;
- $this->addBreadcrumb('Créer un ticket') ;
-
- ?>
-
- <div class="ticket-create">
- <div class="box">
- <?php $form = ActiveForm::begin(); ?>
- <div class="box-body">
- <?= $form->field($ticket, 'subject'); ?>
- <?= $form->field($ticket, 'message')->textarea(['rows' => 6]); ?>
- </div>
- <div class="box-footer">
- <?= Html::submitButton('Créer', ['class' => 'btn btn-success']) ?>
- </div>
- <?php ActiveForm::end(); ?>
- </div>
- </div>
|