Browse Source

Remove whitespace in the contact form message

The whitespace made the message div non-:empty, which resulted in a double margin.
master
Lukas Bestle 5 years ago
parent
commit
35420eda9a
  1. 4
      site/snippets/templates/contact.php

4
site/snippets/templates/contact.php

@ -23,9 +23,7 @@
<?= honeypot_field(null, 'vh') ?>
<?= csrf_field() ?>
<div class="form__message">
<?php snippet('templates/contact.errors', compact('form')) ?>
</div>
<div class="form__message"><?php snippet('templates/contact.errors', compact('form')) ?></div>
<button class="button form__submit" type="submit" name="_submit"<?php e($form->success(), ' disabled')?>><?= l::get('contact.submit', 'Submit') ?></button>

Loading…
Cancel
Save