summaryrefslogtreecommitdiff
path: root/actions/register.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/register.php')
-rw-r--r--actions/register.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/actions/register.php b/actions/register.php
index cd0486506..d2e54b634 100644
--- a/actions/register.php
+++ b/actions/register.php
@@ -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')));