1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
<?php if (empty($anime)): ?>
<p> Anime not found </p>
<?php else: ?>
<h1><?= $anime->series_title ?></h1>
<?php
echo $this->form->create($entry);
echo $this->form->hidden('series_animedb_id', array('value' => $anime->special_id));
/*
<series_title><![CDATA[.hack//Sign]]></series_title>
<series_type>TV</series_type>
<series_episodes>26</series_episodes>
*/
echo $this->form->field('my_watched_episodes', array('label' => 'Watched Episodes'));
echo $this->form->field('my_start_date', array('label' => 'Start Date'));
echo $this->form->field('my_finish_date', array('label' => 'Finish Date'));
//Make this Ajax in the future, but it will have to be removed
//If we partner with CR or otherwise
//echo $this->form->field('my_fansub_group', );
echo $this->form->field('my_score', array('label' => 'Score'));
//echo $this->form->field() // <my_dvd></my_dvd>
//<my_storage></my_storage>
echo $this->form->label('my_status', 'Status');
echo $this->form->select('my_status', array('Plan to Watch', 'On-Hold', 'Completed', 'Watching'), array('value' => 0)); //<my_status>Plan to Watch</my_status>
echo $this->form->field('my_comments', array('label' => 'Comments'));
echo $this->form->field('my_times_watched', array('label' => 'Times Watched'));
echo $this->form->label('rewatch_value', 'Rewatch Value');
echo $this->form->select('rewatch_value', array('High', 'Medium', 'Low', 'None'), array('value' => 0));
echo $this->form->field('tags', array('type' => 'textarea'));
echo $this->form->field('rewatching', array('value' => false));
echo $this->form->submit('Save!');
?>
<?php endif; ?>
|