/twitter-bootstrap-scaffolding

Twitter Bootstrap powered Grails scaffolding templates

Primary LanguageGroovy

Twitter Bootstrap Scaffolding

This is an experimental Grails project using Twitter Bootstrap for scaffolded views.

Demo

Check out the demo on Cloud Foundry.

Installation

You can either use this project as a template or to add to an existing Grails application:

  1. Install the Twitter Bootstrap Resources plugin, i.e. add runtime ":twitter-bootstrap:2.0.0.16" to BuildConfig.groovy.
  2. Install the Fields plugin, i.e. add runtime ":fields:1.0.1" to BuildConfig.groovy.
  3. Copy the following files into your Grails application.
    • src/templates/scaffolding/*
    • web-app/css/scaffolding.css
    • grails-app/conf/ScaffoldingResources.groovy
    • grails-app/taglib/**/*
    • grails-app/views/index.gsp
    • grails-app/views/layouts/bootstrap.gsp
    • grails-app/views/_fields/default/_field.gsp