show error messages in registration form
darcs-hash:20080528170752-84dde-86f5965c108fffe703e62bd42f6bd0eda22f1931.gz
This commit is contained in:
parent
7b244b2a66
commit
a954bb8c0a
@ -119,6 +119,9 @@ class RegisterAction extends Action {
|
||||
global $config;
|
||||
|
||||
common_show_header(_t('Register'));
|
||||
if ($error) {
|
||||
common_element('div', 'error', $error);
|
||||
}
|
||||
common_element_start('form', array('method' => 'POST',
|
||||
'id' => 'login',
|
||||
'action' => common_local_url('register')));
|
||||
|
Loading…
Reference in New Issue
Block a user