Sha256: 94969ff2997f993cff40f6dc7fd1b724fcc9b034efebfcd60496181b4a347c90

Contents?: true

Size: 896 Bytes

Versions: 13

Compression:

Stored size: 896 Bytes

Contents

Description:
  The nifty_layout generator creates a basic layout, stylesheet and
  helper which will give some structure to a starting Rails app.

  The generator takes one argument which will be the name of the
	layout and stylesheet files. If no argument is passed then it defaults
	to "application".

  The helper module includes some methods which can be called in any
  template or partial to set variables to be used in the layout, such as
  page title and javascript/stylesheet includes.

Examples:
    script/generate nifty_layout

        Layout:     app/views/layouts/application.html.erb
        Stylesheet: public/stylesheets/application.css
        Helper:     app/helpers/layout_helper.rb


    script/generate nifty_layout admin

        Layout:     app/views/layouts/admin.html.erb
        Stylesheet: public/stylesheets/admin.css
        Helper:     app/helpers/layout_helper.rb

Version data entries

13 entries across 13 versions & 2 rubygems

Version Path
flockonus-nifty-generators-0.0.12 rails_generators/nifty_layout/USAGE
nifty-generators-0.4.6 rails_generators/nifty_layout/USAGE
flockonus-nifty-generators-0.0.11 rails_generators/nifty_layout/USAGE
flockonus-nifty-generators-0.0.10 rails_generators/nifty_layout/USAGE
flockonus-nifty-generators-0.0.9 rails_generators/nifty_layout/USAGE
nifty-generators-0.4.5 rails_generators/nifty_layout/USAGE
flockonus-nifty-generators-0.0.8 rails_generators/nifty_layout/USAGE
flockonus-nifty-generators-0.0.7 rails_generators/nifty_layout/USAGE
flockonus-nifty-generators-0.0.6 rails_generators/nifty_layout/USAGE
nifty-generators-0.4.4 rails_generators/nifty_layout/USAGE
nifty-generators-0.4.3 rails_generators/nifty_layout/USAGE
nifty-generators-0.4.2 rails_generators/nifty_layout/USAGE
nifty-generators-0.4.1 rails_generators/nifty_layout/USAGE