Remove whitespace in the contact form message

The whitespace made the message div non-:empty, which resulted in a double margin.
This commit is contained in:
2017-06-25 13:09:07 +02:00
parent d5b107714d
commit 35420eda9a
+1 -3
View File
@@ -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>