<div class="section contact">
    <div class="partial">
        <?php echo partial::get_by_name('contact'); ?>
    </div>
    <?php if ($sent) : ?>
        <div class="alert">
            <p>
                Your message has been sent!
            </p>
        </div>
    <?php endif; ?>
    <div class="form">
        <?php echo $form->render(array('id' => 'contact', 'method' => 'post')); ?>
    </div>
</div>