source: trunk/grails-app/views/shared/_messages.gsp @ 765

Last change on this file since 765 was 477, checked in by gav, 15 years ago

Move params.message and params.errorMessage to shared messages template.

File size: 396 bytes
Line 
1<g:if test="${flash.message}">
2    <div class="message">${flash.message}</div>
3</g:if>
4<g:if test="${flash.errorMessage}">
5    <div class="message_error">${flash.errorMessage}</div>
6</g:if>
7<g:if test="${params.message}">
8    <div class="message">${params.message}</div>
9</g:if>
10<g:if test="${params.errorMessage}">
11    <div class="message_error">${params.errorMessage}</div>
12</g:if>
Note: See TracBrowser for help on using the repository browser.