From 3617ede805a6f271c1f01cde60ed014e813a7013 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Sat, 17 May 2008 12:43:49 -0400 Subject: [PATCH] fix form output in register Two twiddly bits for the form output. darcs-hash:20080517164349-84dde-6931aabcabe26e327f6f139c6e374816fbb327fd.gz --- actions/register.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/actions/register.php b/actions/register.php index 80cc6aa7e2..369017b3bf 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'); } } -- 2.39.5