Changeset 482 for trunk/grails-app/views


Ignore:
Timestamp:
Apr 13, 2010, 11:02:59 AM (14 years ago)
Author:
gav
Message:

Refactor entry creation to provide correct error messages when trying to create a new entry on a complete task.

Location:
trunk/grails-app/views
Files:
2 edited

Legend:

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

    r432 r482  
    1414        </div>
    1515        <div class="body">
    16             <g:if test="${flash.message}">
    17             <div class="message">${flash.message}</div>
    18             </g:if>
     16            <g:render template="/shared/messages" />
    1917            <g:hasErrors bean="${entryInstance}">
    2018            <div class="errors">
  • trunk/grails-app/views/taskDetailed/create.gsp

    r433 r482  
    1212        </div>
    1313        <div class="body">
    14             <g:if test="${flash.message}">
    15             <div class="message">${flash.message}</div>
    16             </g:if>
     14            <g:render template="/shared/messages" />
    1715            <g:hasErrors bean="${taskInstance}">
    1816            <div class="errors">
Note: See TracChangeset for help on using the changeset viewer.