fix form output in register

Two twiddly bits for the form output.

darcs-hash:20080517164349-84dde-6931aabcabe26e327f6f139c6e374816fbb327fd.gz
This commit is contained in:
Evan Prodromou 2008-05-17 12:43:49 -04:00
parent 10750993fe
commit 3617ede805

View File

@ -99,7 +99,7 @@ class RegisterAction extends Action {
function show_form($error=NULL) { function show_form($error=NULL) {
common_show_header(_t('Login')); common_show_header(_t('Login'));
common_start_element('form', array('method' => 'POST', common_element_start('form', array('method' => 'POST',
'id' => 'login', 'id' => 'login',
'action' => common_local_url('login'))); 'action' => common_local_url('login')));
common_element('label', array('for' => 'username'), common_element('label', array('for' => 'username'),
@ -130,5 +130,6 @@ class RegisterAction extends Action {
'type' => 'button', 'type' => 'button',
'id' => 'cancel'), 'id' => 'cancel'),
_t('Cancel')); _t('Cancel'));
common_element_end('form');
} }
} }