Submit Tag

submit_tag

Syntax:

$form_tag_helper->submit_tag([ $value ],[ $options ])

Description:
Creates a submit button with the text $value (defaults to null) as the caption. $options is an array:

  • 'disable_with' ⇒ value value will be used to rename a disabled version of the submit button.

image_submit_tag

Syntax:

$form_tag_helper->image_submit_tag($source,[ $options ])

Description:
Displays an image which when clicked will submit the form.
$source is passed to AssetTagHelper#image_path

 
helper-imagesubmit.txt · Last modified: 2008/03/07 00:22 by alake