Skip to content

firemind/yaml_form_helper

Repository files navigation

YamlFormHelper
==============

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

You might want to check out my compass plugin cyaml at https://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 (c) 2011 Michael Gerber, released under the MIT license

About

Rails Plugin for YAML Framework Forms

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages