Changeset 355


Ignore:
Timestamp:
Feb 12, 2010, 2:42:43 PM (14 years ago)
Author:
gav
Message:

Change section views to use shared messages.

Location:
trunk/grails-app/views/sectionDetailed
Files:
4 edited

Legend:

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

    r331 r355  
    1313        <div class="body">
    1414            <h1>Create Section</h1>
    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="${sectionInstance}">
    1917            <div class="errors">
  • trunk/grails-app/views/sectionDetailed/edit.gsp

    r331 r355  
    1414        <div class="body">
    1515            <h1>Edit Section</h1>
    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="${sectionInstance}">
    2018            <div class="errors">
  • trunk/grails-app/views/sectionDetailed/list.gsp

    r339 r355  
    1313        <div class="body">
    1414            <h1>Section List</h1>
    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="list">
    1917                <table>
  • trunk/grails-app/views/sectionDetailed/show.gsp

    r331 r355  
    1414        <div class="body">
    1515            <h1>Show Section</h1>
    16             <g:if test="${flash.message}">
    17             <div class="message">${flash.message}</div>
    18             </g:if>
     16            <g:render template="/shared/messages" />
    1917            <div class="dialog">
    2018                <table>
Note: See TracChangeset for help on using the changeset viewer.