From f659ba58efec6ee93c75f856dabdf33d75e2f7ef Mon Sep 17 00:00:00 2001 From: maxwell Date: Wed, 8 Dec 2010 13:58:16 -0800 Subject: [PATCH] limit the new aspect form name to be less than 20 char in the form --- app/views/aspects/_new_aspect.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/aspects/_new_aspect.haml b/app/views/aspects/_new_aspect.haml index c5d4a5537..2fb7a18f9 100644 --- a/app/views/aspects/_new_aspect.haml +++ b/app/views/aspects/_new_aspect.haml @@ -10,6 +10,6 @@ = aspect.error_messages %p = aspect.label :name , t('.name') - = aspect.text_field :name + = aspect.text_field :name, :maxlength => 20 = aspect.submit t('.create'), :class => 'button'