This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
Christian Naths (author)
Tue Oct 20 14:20:55 -0700 2009
| name | age | message | |
|---|---|---|---|
| |
MIT-LICENSE | Thu Sep 11 16:48:19 -0700 2008 | |
| |
README | Tue Oct 20 11:51:17 -0700 2009 | |
| |
Rakefile | Thu Sep 11 16:48:19 -0700 2008 | |
| |
generators/ | Tue Oct 20 14:20:55 -0700 2009 | |
| |
init.rb | Tue Oct 20 02:24:10 -0700 2009 | |
| |
install.rb | Tue Oct 20 02:24:10 -0700 2009 | |
| |
lib/ | Tue Oct 20 02:22:44 -0700 2009 | |
| |
tasks/ | Thu Sep 11 16:48:19 -0700 2008 | |
| |
test/ | Thu Sep 11 16:48:19 -0700 2008 | |
| |
uninstall.rb | Thu Sep 11 16:48:19 -0700 2008 |
README
This plugin has recently gone under major reconstruction. Please refer to this readme for updated options. HamlScaffold ============ This plugin creates scaffolds with .html.haml views rather than the traditional .haml.erb views, and creates Sass stylesheets instead of the traditional .css stylesheets. Additional ui frameworks have been added: jQuery & jQuery-ui for javascript and BlueprintCSS for css. Also, form error messages are now displayed inline using the label tag. Requires ======= Rails 2.2.0+ Haml Install ======= install this as a plugin to your rails app with ./script/plugin install git://github.com/cnaths/haml_scaffold.git be sure to include the haml plugin in your rails app with: ./haml --rails [path/to/app] *see haml for more info Example ======= ./script/generate haml_scaffold Post title:string body:text Options ======= --layout //Generate layout components --erb //Generate erb views/layouts and css stylesheets rather than haml/sass --skip-timestamps //Don't add timestamps to the migration file for this model --skip-migration //Don't generate a migration file for this model Notes ======= "ActionView::Base.default_form_builder = InlineFormErrors" will be added to your environment.rb file during installation. This is to give error messages inside input labels. Delete this line to restore default form builder functionality. include tags will be written to the layouts/_includes partial during scaffolding Released under the MIT license







