Skip to content

Latest commit

 

History

25 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

  • 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

  • subdomains - takes tld length as an arg

  • 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

Need to figure out how to detect rendering engine

  • form

  • fieldset

  • better partial

Copyright © 2009 brianthecoder. See LICENSE for details.

About

collection of helpers for sinatra that I missed

Resources

Stars

11 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages