Skip to content

Metridoc grails core

Tommy Barker edited this page Sep 13, 2013 · 7 revisions

Gsp Tags

=============

  • md:report - Anything enclosed in this tag is wrapped by the standard layout of the application
%{-- test.gsp --}%
<md:report>
    I am the body of the page!
</md:report>
  • md:cgButton - Creates a button wrapped in proper Bootstrap control group tags
%{-- test.gsp --}%
<md:cgButton >Create</md:report>

%{-- is short for --}%
<div class="control-group">
    <div class="controls">
        <button class="btn" type="submit">
            <i class="icon-edit"></i> Create
        </button>
    </div>
</div>