diff options
Diffstat (limited to 'views/Anime_list/add.html.php')
-rw-r--r-- | views/Anime_list/add.html.php | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/views/Anime_list/add.html.php b/views/Anime_list/add.html.php new file mode 100644 index 0000000..5e9699a --- /dev/null +++ b/views/Anime_list/add.html.php @@ -0,0 +1,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; ?>
\ No newline at end of file |