Changeset 349 for trunk


Ignore:
Timestamp:
Feb 10, 2010, 5:08:51 AM (15 years ago)
Author:
gav
Message:

Add shared messages to asset detailed views.

Location:
trunk/grails-app/views/assetDetailed
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/assetDetailed/create.gsp

    r329 r349  
    1313        </div>
    1414        <div class="body">
    15             <g:if test="${flash.message}">
    16             <div class="message">${flash.message}</div>
    17             </g:if>
     15            <g:render template="/shared/messages" />
    1816            <g:hasErrors bean="${assetInstance}">
    1917            <div class="errors">
  • trunk/grails-app/views/assetDetailed/edit.gsp

    r344 r349  
    1313        </div>
    1414        <div class="body">
    15             <g:if test="${flash.message}">
    16             <div class="message">${flash.message}</div>
    17             </g:if>
     15            <g:render template="/shared/messages" />
    1816            <g:hasErrors bean="${assetInstance}">
    1917            <div class="errors">
  • trunk/grails-app/views/assetDetailed/show.gsp

    r329 r349  
    1313        </div>
    1414        <div class="body">
    15             <g:if test="${flash.message}">
    16             <div class="message">${flash.message}</div>
    17             </g:if>
     15            <g:render template="/shared/messages" />
    1816            <div class="dialog">
    1917                <table>
Note: See TracChangeset for help on using the changeset viewer.