Hobo Cookbook

View Source



Provides an ajax button to send a RESTful update or “PUT” to the server. i.e. to udate one or more fields of a record.

Note that unlike simliar tags, <update-button> does not support both ajax and non-ajax modes at this time. It only does ajax.

<update-button> supports all of the standard ajax attributes (see the main taglib documention for Rapid Forms).


  • label: The label on the button.

  • fields: A hash with new field values pairs to update the resource with. The items in the hash will be converted to HTTP parameters.

  • params: Another hash with additional HTTP parameters to include in the ajax request

Show Source


No Comments to display