From 07395fb2c90ce2a77d8a70f3cf8e7fcc524d91b7 Mon Sep 17 00:00:00 2001 From: MrZYX Date: Sun, 22 May 2011 13:50:02 +0200 Subject: [PATCH] added maxlength attribute to aspect name input, fixed #675 --- app/views/aspects/edit.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/aspects/edit.html.haml b/app/views/aspects/edit.html.haml index 441e0951b..973f059cd 100644 --- a/app/views/aspects/edit.html.haml +++ b/app/views/aspects/edit.html.haml @@ -25,7 +25,7 @@ #aspect_name_edit.hidden = form_for @aspect, :remote => true do |aspect| - = aspect.text_field :name + = aspect.text_field :name, :maxlength => 20 = aspect.submit t('.update'), :disable_with => t('.updating'), :class => 'button' - if @contacts.count > 0