From d4b6945d87550ea6862aa4c00677ba9074585900 Mon Sep 17 00:00:00 2001 From: raylu Date: Sun, 10 Jul 2011 15:49:34 -0700 Subject: Style signup page --- views/signup/index.html.php | 37 ++++++++++++++++++++++++++----------- 1 file changed, 26 insertions(+), 11 deletions(-) (limited to 'views') diff --git a/views/signup/index.html.php b/views/signup/index.html.php index 5b26977..dd262e0 100644 --- a/views/signup/index.html.php +++ b/views/signup/index.html.php @@ -2,16 +2,31 @@ $this->styles($this->html->style("/css/signup.css")); ?> - -Confirmation Link: Link - -flashMessage->output(); ?> +/key ?>\"> Link "; +} +else +{ + $template = '{:label}{:input}{:error}'; + ?> + flashMessage->output(); ?> -form->create($user); ?> - form->field('username'); ?> - form->field('newpass', array('type' => 'password', 'label' => 'password')); ?> - form->field('email'); ?> - form->submit('Signup!'); ?> -form->end(); ?> - \ No newline at end of file +
+ form->create($user); ?> + + form->field('username', + array('template' => $template, 'id' => 's_username')) ?> + form->field('newpass', + array('template' => $template, 'id' => 's_password', 'label' => 'Password')) ?> + form->field('email', + array('template' => $template, 'id' => 's_email')) ?> +
+ form->submit('Signup!'); ?> + form->end(); ?> +
+ -- cgit v1.2.3