Commit a954bb8c authored by Evan Prodromou's avatar Evan Prodromou

show error messages in registration form

parent 7b244b2a
......@@ -117,8 +117,11 @@ class RegisterAction extends Action {
function show_form($error=NULL) {
global $config;
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