search for: limit_chars

Displaying 1 result from an estimated 1 matches for "limit_chars".

2007 Dec 04
0
TextAreaWithStatus 1.0 released
...s been released http://code.google.com/p/text-area-with-status/ == Overview == This plugin is extending builtin text_area and text_area_tag helpers with the ability to display chars left up to a specified limit. Basically it turns this: <%= f.text_area :description, :onkeyup => "limit_chars(this, 100, $ (''chars_left''))" %><br /> <span id="chars_left">You have <%= 100 - @object.description.length %> characters left. </span> into this: <%= f.text_area :description, :max_chars => 100 %> You can also customiz...