From 2f2114993cd2111f09ed86182d49376d5019db3f Mon Sep 17 00:00:00 2001 From: Marc Palmer Date: Mon, 26 Nov 2012 18:15:36 +0000 Subject: [PATCH] Doc improvements --- .../gettingStarted/gettingStartedForms.gdoc | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/src/docs/guide/gettingStarted/gettingStartedForms.gdoc b/src/docs/guide/gettingStarted/gettingStartedForms.gdoc index e69de29..25abdd8 100644 --- a/src/docs/guide/gettingStarted/gettingStartedForms.gdoc +++ b/src/docs/guide/gettingStarted/gettingStartedForms.gdoc @@ -0,0 +1,31 @@ + +Creating a login form is a good example of how you can use Themes and UI Sets to build some UI that is independent of look and feel. + +Create a @TestController@ with a @login@ action and save @login.gsp@ in @grails-app/views/test/@ and place this in it: + +{docx} + + + + + + + + Please log in + + + + + Log in + I forgot my password + + + + + +{docx} + +Now browse to @/test/login@ and view the form. Notice how you have no styling or structure related code in your markup. + +If you had more themes installed you could switch to others to test the same form in them. +