From 83483a1826d1d05e2f9733746f35fef1939b8c0a Mon Sep 17 00:00:00 2001 From: raylu Date: Sat, 2 Jul 2011 16:51:32 -0700 Subject: lowercase --- views/anime_list/add.html.php | 49 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 views/anime_list/add.html.php (limited to 'views/anime_list/add.html.php') diff --git a/views/anime_list/add.html.php b/views/anime_list/add.html.php new file mode 100644 index 0000000..2e93ffd --- /dev/null +++ b/views/anime_list/add.html.php @@ -0,0 +1,49 @@ +form->config(array('templates' => array( + 'error' => '
{:content}
'))); ?> + +

Find an Anime:

+
+
+ +

title ?>

+
+
+ + + + +form->create($entry); + + //Hidden because the user can't change these. + //These are stored in the anime list for faster lookup times, + //So we can avoid getting this data live for every anime. + if (isset($anime)) { + echo $this->form->hidden('series_animedb_id', array('value' => $anime->special_id)); + echo $this->form->hidden('series_title', array('value' => $anime->title)); + echo $this->form->hidden('series_type', array('value' => $anime->view_type)); + echo $this->form->hidden('series_episodes', array('value' => $anime->episode_count)); + } + + 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')); + echo $this->form->field('my_score', array('label' => 'Score')); + echo $this->form->label('my_status', 'Status'); + echo $this->form->select('my_status', array('Plan to Watch' => 'Plan to Watch', + 'On-Hold' => 'On-Hold', + 'Completed' => 'Completed', + 'Watching' => 'Watching', + 'Dropped' => 'Dropped')); + 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', 'id' => 'tags')); + echo $this->form->checkbox('rewatching', array('label' =>'Rewatching?', 'value' => false)); + echo $this->form->submit('Save!'); +?> \ No newline at end of file -- cgit v1.2.3