Awesome JSON
JavaScript Ruby
Switch branches/tags
Nothing to show
Clone or download
Chris Van Pelt Chris Van Pelt
Latest commit 92bc597 May 29, 2008

README.txt

Jsawesome

Description:
    JSAwesome provides a powerful JSON based DSL for creating interactive forms.

Example:
    new JSAwesome('rad', [['cool','neat'], ['^neat',true]], {'cool':{label:'Cool man', validation:'cool'}).to_html()
    =>
      <label for="rad_cool">Cool man</label>
      <input type="text" name="rad_cool" value="neat"/>
      <label for="rad_neat"><input type="checkbox" name="rad_neat" checked="checked"/> Neat</label>
    
    A detailed overview of the library is now available at
      http://vandev.com/2008/4/22/jsawesome
      
    Also see the functional tests for more examples of what is possible

More information:
    http://github.com/vanpelt/jsawesome/tree/master
    
Author:
    Chris Van Pelt, vanpelt@doloreslabs.com