contact.php 307 B

12345678910111213
  1. <?php $this->title = 'Contáctanos' ?>
  2. <h1>Contáctanos</h1>
  3. <?= $form->begin('/contacto', 'post') ?>
  4. <?= $form->field($model, 'subject') ?>
  5. <?= $form->field($model, 'email')->email() ?>
  6. <?= $form->textarea($model, 'body') ?>
  7. <button type="submit">
  8. Enviar
  9. </button>
  10. <?= $form->end() ?>