Commit a954bb8c authored by Evan Prodromou's avatar Evan Prodromou

show error messages in registration form

darcs-hash:20080528170752-84dde-86f5965c108fffe703e62bd42f6bd0eda22f1931.gz
parent 7b244b2a
......@@ -117,8 +117,11 @@ class RegisterAction extends Action {
function show_form($error=NULL) {
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')));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment