Ignore:
Timestamp:
Oct 9, 2009, 10:11:43 PM (15 years ago)
Author:
gav
Message:

Add params.message to Person create and edit views.
Code format to 4 spaces, no tabs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/authority/show.gsp

    r59 r150  
    11<head>
    2         <meta name="layout" content="main" />
    3         <title>Show Authority</title>
     2    <meta name="layout" content="main" />
     3    <title>Show Authority</title>
    44</head>
    55
    66<body>
    77
    8         <div class="nav">
    9                 <span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}">Home</a></span>
    10                 <span class="menuButton"><g:link class="list" action="list">Authority List</g:link></span>
    11                 <span class="menuButton"><g:link class="create" action="create">New Authority</g:link></span>
    12         </div>
     8    <div class="nav">
     9        <span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}">Home</a></span>
     10        <span class="menuButton"><g:link class="list" action="list">Authority List</g:link></span>
     11        <span class="menuButton"><g:link class="create" action="create">New Authority</g:link></span>
     12    </div>
    1313
    14         <div class="body">
    15                 <h1>Show Authority</h1>
    16                 <g:if test="${flash.message}">
    17                 <div class="message">${flash.message}</div>
    18                 </g:if>
    19                 <div class="dialog">
    20                         <table>
    21                         <tbody>
     14    <div class="body">
     15        <h1>Show Authority</h1>
     16        <g:if test="${flash.message}">
     17        <div class="message">${flash.message}</div>
     18        </g:if>
     19        <div class="dialog">
     20            <table>
     21            <tbody>
    2222
    23                                 <tr class="prop">
    24                                         <td valign="top" class="name">ID:</td>
    25                                         <td valign="top" class="value">${authority.id}</td>
    26                                 </tr>
     23                <tr class="prop">
     24                    <td valign="top" class="name">ID:</td>
     25                    <td valign="top" class="value">${authority.id}</td>
     26                </tr>
    2727
    28                                 <tr class="prop">
    29                                         <td valign="top" class="name">Authority Name:</td>
    30                                         <td valign="top" class="value">${authority.authority}</td>
    31                                 </tr>
     28                <tr class="prop">
     29                    <td valign="top" class="name">Authority Name:</td>
     30                    <td valign="top" class="value">${authority.authority}</td>
     31                </tr>
    3232
    33                                 <tr class="prop">
    34                                         <td valign="top" class="name">Description:</td>
    35                                         <td valign="top" class="value">${authority.description}</td>
    36                                 </tr>
     33                <tr class="prop">
     34                    <td valign="top" class="name">Description:</td>
     35                    <td valign="top" class="value">${authority.description}</td>
     36                </tr>
    3737
    38                                 <tr class="prop">
    39                                         <td valign="top" class="name">Persons:</td>
    40                                         <td valign="top" class="value">${authority.persons}</td>
    41                                 </tr>
     38                <tr class="prop">
     39                    <td valign="top" class="name">Persons:</td>
     40                    <td valign="top" class="value">${authority.persons}</td>
     41                </tr>
    4242
    43                         </tbody>
    44                         </table>
    45                 </div>
     43            </tbody>
     44            </table>
     45        </div>
    4646
    47                 <div class="buttons">
    48                         <g:form>
    49                                 <input type="hidden" name="id" value="${authority?.id}" />
    50                                 <span class="button"><g:actionSubmit class="edit" value="Edit" /></span>
    51                                 <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span>
    52                         </g:form>
    53                 </div>
     47        <div class="buttons">
     48            <g:form>
     49                <input type="hidden" name="id" value="${authority?.id}" />
     50                <span class="button"><g:actionSubmit class="edit" value="Edit" /></span>
     51                <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span>
     52            </g:form>
     53        </div>
    5454
    55         </div>
     55    </div>
    5656
    5757</body>
Note: See TracChangeset for help on using the changeset viewer.