Moved the diary post form to partials.php so we can put it in more places.