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.

21 lines
1.0KB

  1. <?php
  2. use yii\bootstrap\ActiveForm;
  3. $this->title = 'Producteur '.Html::encode($producer->nom) ;
  4. ?>
  5. <div id="page-producer-code">
  6. <h1 class="title-systeme-commande"><?= Html::encode($producer->nom) ?></h1>
  7. <p class="info"><span class="alert alert-warning">Cet établissement est protègé par un code d'accès.</span></p>
  8. <?php $form = ActiveForm::begin(['id' => 'producer-code','enableClientValidation'=> false]); ?>
  9. <?= $form->field($model_producer_code, 'code',[
  10. 'inputTemplate' => '<div class="input-group"><span class="input-group-addon"><span class="glyphicon glyphicon-lock"></span></span>{input}</div>',
  11. ])
  12. ->label('Code de l\'établissement')
  13. ->hint('Renseignez-vous auprès de votre producteur pour qu\'il vous fournisse le code d\'accès') ; ?>
  14. <div class="form-group buttons">
  15. <?= Html::submitButton('Entrer', ['class' => 'btn btn-primary', 'name' => 'valider-button']) ?>
  16. </div>
  17. <?php ActiveForm::end(); ?>
  18. </div>