# HG changeset patch
# User luisf
# Date 1291643332 0
# Node ID 29d087fde14247a8ab45335ca7976d55f0477bf7
# Parent 69ee2e406f71ad1813fa69dd4f36aa51c4df50ce
Correctly prints the error messages if user description is blank.
diff -r 69ee2e406f71 -r 29d087fde142 app/views/account/register.rhtml
--- a/app/views/account/register.rhtml Mon Dec 06 12:54:56 2010 +0000
+++ b/app/views/account/register.rhtml Mon Dec 06 13:48:52 2010 +0000
@@ -2,7 +2,6 @@
<% form_tag({:action => 'register'}, :class => "tabular") do %>
<%= error_messages_for 'user' %>
-<%= error_messages_for 'ssamr_user_details' %>
diff -r 69ee2e406f71 -r 29d087fde142 config/locales/en-GB.yml
--- a/config/locales/en-GB.yml Mon Dec 06 12:54:56 2010 +0000
+++ b/config/locales/en-GB.yml Mon Dec 06 13:48:52 2010 +0000
@@ -196,7 +196,9 @@
gui_validation_error: 1 error
gui_validation_error_plural: "{{count}} errors"
-
+
+ field_ssamr_user_detail:
+ description: User Description
field_name: Name
field_description: Description
field_summary: Summary
diff -r 69ee2e406f71 -r 29d087fde142 config/locales/en.yml
--- a/config/locales/en.yml Mon Dec 06 12:54:56 2010 +0000
+++ b/config/locales/en.yml Mon Dec 06 13:48:52 2010 +0000
@@ -200,7 +200,9 @@
gui_validation_error: 1 error
gui_validation_error_plural: "{{count}} errors"
-
+
+ field_ssamr_user_detail:
+ description: User Description
field_name: Name
field_description: Description
field_summary: Summary