Skip to content

Instantly share code, notes, and snippets.

@silasb
Created September 24, 2009 18:53
Show Gist options
  • Save silasb/192953 to your computer and use it in GitHub Desktop.
Save silasb/192953 to your computer and use it in GitHub Desktop.
form_remote_tag(:url => add_keyword_path(keyword), :html => {:style => 'display:inline'}) do
"hello"
#text_field_tag('keyword', nil, :size => 20)
#submit_tag('Submit') +
#link_to_function('Cancel', "$('#{id}').removeClassName('UIRightButton-selected');$('#{id}').addClassName('UIRightButton');$(this.up(1)).hide();")
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment