Generate a form textarea
# File lib/staticmatic/helpers/form_helper.rb, line 17 def text_area(name, value, options = {}) options.merge!(:name => name) tag(:textarea, options) { value } end
Generates a form text field
# File lib/staticmatic/helpers/form_helper.rb, line 9 def text_field(name, value, options = {}) options.merge!(:type => "text", :name => name, :value => value) tag(:input, options) end
[Validate]
Generated with the Darkfish Rdoc Generator 2.