Skip to content
tanema edited this page Apr 5, 2012 · 14 revisions

Usage

Most helpers (especially the inputs) follow one method for use

helper("name/id", [[value,] html_options])

The html_options is an associative array that basically get translated into html attributes

url_field_tag("input",{class:"url_field"})

=> 

<input id='input' type='url' name='input' class='url_field' />

*NOTE: options listed for each helper are to be put into the html_options

#Markup and Utility

#Buttons

#Links

#Form_For

#Inputs and form elements

Clone this wiki locally