]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
fix form output in register
authorEvan Prodromou <evan@prodromou.name>
Sat, 17 May 2008 16:43:49 +0000 (12:43 -0400)
committerEvan Prodromou <evan@prodromou.name>
Sat, 17 May 2008 16:43:49 +0000 (12:43 -0400)
Two twiddly bits for the form output.

darcs-hash:20080517164349-84dde-6931aabcabe26e327f6f139c6e374816fbb327fd.gz

actions/register.php

index 80cc6aa7e271543c5706ea187aff07a90f86babd..369017b3bfa623cec540cf3c73dce0b97b7bf438 100644 (file)
@@ -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');
        }
 }