YamlFormHelper

The YamlFormHelper is a Rails Plugin that extends the FormBuilder Class with methods to create form tags for the HTML/CSS Framework YAML (www.yaml.de/)

You might want to check out my compass plugin cyaml at github.com/servasat/cyaml

Installation

Add this to your Gemfile

gem 'yaml_form_helper'

and run bundle install

Now include it in your Helpers

module ApplicationHelper
  include YamlFormHelper
end

Example

<%= yaml_form_for(@bird) do |f| %>
  <%= f.yaml_text_field :name %>
  <%= f.yaml_submit %>
<% end %>

Copyright © 2011 Michael Gerber, released under the MIT license