|
- <?php
-
- use yii\helpers\Html;
- use yii\bootstrap\ActiveForm;
- use yii\captcha\Captcha;
-
- /* @var $this yii\web\View */
- $this->title = 'Système de réservation de pain';
- ?>
-
- <?php
-
-
- ?>
-
- <div class="item" id="presentation">
- <div class="container">
- <h2>Réservation de pain</h2>
- <p> Suspendisse suscipit ligula ac eleifend ornare. Nunc luctus ipsum et elit condimentum feugiat. Aenean sed ligula ac urna cursus mattis. Sed vestibulum euismod ligula, quis varius velit ultricies vel. Curabitur pretium ornare justo, tempor vehicula purus sodales et. Maecenas et ante laoreet, aliquet nunc sit amet, iaculis arcu. Maecenas ut sem sit amet eros interdum accumsan in quis tellus. Quisque ac molestie ex. Ut rutrum ex in fringilla varius. Nam porta mi at condimentum fermentum. </p>
- <div class="clr"></div>
- </div>
- </div>
-
- <div class="item back1" id="contact">
- <div class="container">
-
- <div class="separateur"></div>
- <h2><img class="icon" src="<?php echo Yii::$app->urlManager->getBaseUrl() ; ?>/img/icon_53324.png" alt="" /> Contact</h2>
-
- <?php if(Yii::$app->session->getFlash('success')): ?>
- <div class="alert alert-success"><div class="icon"></div><?= Yii::$app->session->getFlash('success'); ?></div>
- <?php endif; ?>
-
- <?php $form = ActiveForm::begin(['id' => 'contact-form', 'action'=> '#par-telephone', 'layout' => 'horizontal',]); ?>
- <?= $form->field($model, 'name') ?>
- <?= $form->field($model, 'email') ?>
- <?= $form->field($model, 'subject') ?>
- <?= $form->field($model, 'body')->textArea(['rows' => 6]) ?>
- <?= $form->field($model, 'verifyCode')->widget(Captcha::className(), [
- 'template' => '<div class="row"><div class="col-lg-3">{image}</div><div class="col-lg-6">{input}</div></div>',
- ]) ?>
- <div class="form-group">
- <?= Html::submitButton('Envoyer', ['class' => 'btn btn-default', 'name' => 'contact-button']) ?>
- </div>
- <?php ActiveForm::end(); ?>
-
- </div>
- </div>
|