Sha256: a1d418cc748122e36ca03663e67bad68baa4a7582cb31dd437cf98f5cd3ae8e7

Contents?: true

Size: 917 Bytes

Versions: 5

Compression:

Stored size: 917 Bytes

Contents

= RatPack

Collection of helpers for sinatra mainly for links, css, js, images, and form stuff. Most of this was stolen/modified from merb. Much love to the merb-core team. Peace.

== What's included

=== Forms

* text_field
* password_field
* hidden_field
* password_field
* check_box
* radio_button
* radio_group - same as above but takes an array of names
* text_area
* label
* select
* button
* submit

=== Routing helpers

* subdomains - takes tld length as an arg

=== Html Helpers

* link_to
* js_link - only accepts one file name
* css_link - only accepts one file name
* partial - specify template parser via :template param, defaults to erb looks for partials in a views/partials
* tag
* open_tag
* close_tag
* self_closing_tag

==== Coming Soon

Need to figure out how to detect rendering engine

* form
* fieldset
* better partial

== Copyright

Copyright (c) 2009 brianthecoder. See LICENSE for details.

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
BrianTheCoder-ratpack-0.2.0 README.rdoc
BrianTheCoder-ratpack-0.2.2 README.rdoc
BrianTheCoder-ratpack-0.2.3 README.rdoc
BrianTheCoder-ratpack-0.2.4 README.rdoc
BrianTheCoder-ratpack-0.3.1 README.rdoc