Timothy J Warren
7a4816d34d
All checks were successful
timw4mail/HummingBirdAnimeClient/PR-12 This commit looks good
39 lines
1.1 KiB
PHP
39 lines
1.1 KiB
PHP
<?php if ($auth->isAuthenticated()): ?>
|
|
<main>
|
|
<h2>Add Anime to your List</h2>
|
|
<form action="<?= $action_url ?>" method="post">
|
|
<section>
|
|
<div class="cssload-loader" hidden="hidden">
|
|
<div class="cssload-inner cssload-one"></div>
|
|
<div class="cssload-inner cssload-two"></div>
|
|
<div class="cssload-inner cssload-three"></div>
|
|
</div>
|
|
<label for="search">Search for anime by name: <input type="search" id="search" /></label>
|
|
<section id="series-list" class="media-wrap">
|
|
</section>
|
|
</section>
|
|
<br />
|
|
<table class="invisible form">
|
|
<tbody>
|
|
<tr>
|
|
<td><label for="status">Watching Status</label></td>
|
|
<td>
|
|
<select name="status" id="status">
|
|
<?php foreach($status_list as $status_key => $status_title): ?>
|
|
<option value="<?= $status_key ?>"><?= $status_title ?></option>
|
|
<?php endforeach ?>
|
|
</select>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td> </td>
|
|
<td>
|
|
<input type="hidden" name="type" value="anime" />
|
|
<button type="submit">Save</button>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</form>
|
|
</main>
|
|
<?php endif ?>
|