Sha256: a2ffb91e4560baa033a9553fc083a29ccd6ca83c16aac07d6efecec4877cbc5a

Contents?: true

Size: 1.02 KB

Versions: 2

Compression:

Stored size: 1.02 KB

Contents

= Formula

Formula is a Rails form generator that generates simple clean markup. The project aims to let users create semantically beautiful forms without introducing too much syntax. The goal is to make integrating advanced layout systems (such as grid systems) as simple as possible.

== Installation

  gem install formula
  
== Examples

  <%= f.input :email %>
  <%= f.input :password %>

  <%= f.input :email, :label => "Email:", :hint => "We promise never to bother you." %>
  <%= f.input :password, :label => "Password:", :hint => "Must be at least six characters." %>
  
  <%= f.input :url, :class => 'grid-04' %>
  <%= f.input :phone, :class => 'grid-04' %>
  <%= f.input :email, :class => 'grid-04' %>
  
  <%= f.input :credit_card_number, :label => 'Number:', :class => 'grid-08' %>
  <%= f.input :credit_card_verification, :label => 'CVV:', :class => 'grid-02' %>
  <%= f.input :credit_card_expiration, :label => 'Expiration:', :class => 'grid-02' %>

== Copyright

Copyright (c) 2010 Kevin Sylvestre. See LICENSE for details.

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
formula-0.0.5 README.rdoc
formula-0.0.4 README.rdoc