Displaying 2 results from an estimated 2 matches for "form_method".
2008 Feb 12
0
button_to problem http://localhost:3000/art/151470;edi
...9;'
if (method = html_options.delete(''method'')) && %w{put
delete}.include?(method.to_s)
method_tag = tag(''input'', :type => ''hidden'', :name => ''_method'',
:value => method.to_s)
end
form_method = method.to_s == ''get'' ? ''get'' : ''post''
if confirm = html_options.delete("confirm")
html_options["onclick"] = "return
#{confirm_javascript_function(confirm)};"
end
url = options.is_a?(Str...
2008 Jun 15
11
[PATCH] helper to create fb css stylized table
I attached a rails helper implementation of the fb_table described here:
http://wiki.developers.facebook.com/index.php/Facebook_Styles
I included testing and comments. I hope you find it useful.
Curiously, it''s really a small extension of FBML.
Richard
-------------- next part --------------
Index: test/rails_integration_test.rb