CSY2028-assignment-2/templates/apply.html.php

29 lines
669 B
PHP
Raw Normal View History

2023-01-23 17:50:11 +00:00
<main class="sidebar">
<section class="left">
<ul>
2023-01-25 17:14:23 +00:00
<?=require 'nav.html.php'?>
2023-01-23 17:50:11 +00:00
</ul>
</section>
<section class="right">
<h2>Apply for <?=$job->title?></h2>
2023-01-23 18:59:40 +00:00
<form action="/jobs/apply" method="POST" enctype="multipart/form-data">
2023-01-23 17:50:11 +00:00
<label>Your name</label>
<input type="text" name="name" />
<label>E-mail address</label>
<input type="text" name="email" />
<label>Cover letter</label>
<textarea name="details"></textarea>
<label>CV</label>
<input type="file" name="cv" />
<input type="hidden" name="jobId" value="<?=$job->id?>" />
<input type="submit" name="submit" value="Apply" />
</form>
</section>
</main>