Returns text_area_tag, text_field_tag, password_field_tag with a default extjs css style.
Methods
Public Instance methods
Returns password_field_tag with extjs style alias for password_field_tag, for use the original tag use:
password_field_tag_style
[ show source ]
# File lib/view/helpers/view_helper.rb, line 88
88: def password_field_tag_with_style(name, value = nil, options = {})
89: options[:class] ||= "x-form-text"
90: options[:style] ||= "width:100%"
91: password_field_tag_without_style(name, value, options)
92: end
Returns text_area_tag with extjs style alias for text_area_tag, for use the original tag use:
text_area_tag_without_style
[ show source ]
# File lib/view/helpers/view_helper.rb, line 66
66: def text_area_tag_with_style(name, value = nil, options = {})
67: options[:class] ||= "x-form-field"
68: options[:style] ||= "width:100%;height:80px"
69: text_area_tag_without_style(name, value, options)
70: end
Returns text_field_tag with extjs style alias for text_field_tag, for use the original tag use:
text_field_tag_without_style
[ show source ]
# File lib/view/helpers/view_helper.rb, line 77
77: def text_field_tag_with_style(name, value = nil, options = {})
78: options[:class] ||= "x-form-text"
79: options[:style] ||= "width:100%"
80: text_field_tag_without_style(name, value, options)
81: end