added maxlength attribute to aspect name input, fixed #675

This commit is contained in:
MrZYX 2011-05-22 13:50:02 +02:00
parent e6f3adb69f
commit 07395fb2c9

View file

@ -25,7 +25,7 @@
#aspect_name_edit.hidden #aspect_name_edit.hidden
= form_for @aspect, :remote => true do |aspect| = 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' = aspect.submit t('.update'), :disable_with => t('.updating'), :class => 'button'
- if @contacts.count > 0 - if @contacts.count > 0