Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

23 lines (16 sloc) 0.885 kb

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.2.25" to BuildConfig.groovy.
  2. Install the Fields plugin, i.e. add runtime ":fields:1.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
Jump to Line
Something went wrong with that request. Please try again.