show error messages in registration form

darcs-hash:20080528170752-84dde-86f5965c108fffe703e62bd42f6bd0eda22f1931.gz
This commit is contained in:
Evan Prodromou 2008-05-28 13:07:52 -04:00
parent 7b244b2a66
commit a954bb8c0a

View File

@ -119,6 +119,9 @@ class RegisterAction extends Action {
global $config; global $config;
common_show_header(_t('Register')); common_show_header(_t('Register'));
if ($error) {
common_element('div', 'error', $error);
}
common_element_start('form', array('method' => 'POST', common_element_start('form', array('method' => 'POST',
'id' => 'login', 'id' => 'login',
'action' => common_local_url('register'))); 'action' => common_local_url('register')));