Returns text_area, text_field, password_field with a default extjs css style.
Methods
Public Instance methods
Returns password_field with extjs style alias for password_field, for use the original tag use:
password_field_without_style
[ show source ]
# File lib/view/helpers/view_helper.rb, line 43
43: def password_field_with_style(name, method, options = {})
44: options[:class] ||= "x-form-text"
45: options[:style] ||= "width:100%"
46: password_field_without_style(name, method, options)
47: end
Returns text_area with extjs style alias for text_area, for use the original tag use:
text_area_without_style
[ show source ]
# File lib/view/helpers/view_helper.rb, line 21
21: def text_area_with_style(name, value = nil, options = {})
22: options[:class] ||= "x-form-field"
23: options[:style] ||= "width:100%;height:80px"
24: text_area_without_style(name, value, options)
25: end
Returns text_field with extjs style alias for text_field, for use the original tag use:
text_field_without_style
[ show source ]
# File lib/view/helpers/view_helper.rb, line 32
32: def text_field_with_style(name, method, options = {})
33: options[:class] ||= "x-form-text"
34: options[:style] ||= "width:100%"
35: text_field_without_style(name, method, options)
36: end