summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-05-17 12:43:49 -0400
committerEvan Prodromou <evan@prodromou.name>2008-05-17 12:43:49 -0400
commit3617ede805a6f271c1f01cde60ed014e813a7013 (patch)
treeba760eaf456643df11855001dca2da7306370f44
parent10750993fe03f808f93419b70386197d867e5cfe (diff)
fix form output in register
Two twiddly bits for the form output. darcs-hash:20080517164349-84dde-6931aabcabe26e327f6f139c6e374816fbb327fd.gz
-rw-r--r--actions/register.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/actions/register.php b/actions/register.php
index 80cc6aa7e..369017b3b 100644
--- a/actions/register.php
+++ b/actions/register.php
@@ -99,7 +99,7 @@ class RegisterAction extends Action {
function show_form($error=NULL) {
common_show_header(_t('Login'));
- common_start_element('form', array('method' => 'POST',
+ common_element_start('form', array('method' => 'POST',
'id' => 'login',
'action' => common_local_url('login')));
common_element('label', array('for' => 'username'),
@@ -130,5 +130,6 @@ class RegisterAction extends Action {
'type' => 'button',
'id' => 'cancel'),
_t('Cancel'));
+ common_element_end('form');
}
}