Ignore:
Timestamp:
May 1, 2009, 3:27:41 PM (15 years ago)
Author:
gav
Message:

Run generate-all on all controllers and views except Person and Authority.
Extensive work on Asset domain and application now compiles and runs well.
Update BootStrap? to suite.

Location:
trunk/grails-app/views/period
Files:
1 edited
1 moved

Legend:

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

    r118 r122  
    55        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    66        <meta name="layout" content="main" />
    7         <title>Create Frequency</title>         
     7        <title>Create Period</title>         
    88    </head>
    99    <body>
    1010        <div class="nav">
    1111            <span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}">Home</a></span>
    12             <span class="menuButton"><g:link class="list" action="list">Frequency List</g:link></span>
     12            <span class="menuButton"><g:link class="list" action="list">Period List</g:link></span>
    1313        </div>
    1414        <div class="body">
    15             <h1>Create Frequency</h1>
     15            <h1>Create Period</h1>
    1616            <g:if test="${flash.message}">
    1717            <div class="message">${flash.message}</div>
    1818            </g:if>
    19             <g:hasErrors bean="${frequencyInstance}">
     19            <g:hasErrors bean="${periodInstance}">
    2020            <div class="errors">
    21                 <g:renderErrors bean="${frequencyInstance}" as="list" />
     21                <g:renderErrors bean="${periodInstance}" as="list" />
    2222            </div>
    2323            </g:hasErrors>
     
    2929                            <tr class="prop">
    3030                                <td valign="top" class="name">
    31                                     <label for="frequency">Frequency:</label>
     31                                    <label for="isActive">Is Active:</label>
    3232                                </td>
    33                                 <td valign="top" class="value ${hasErrors(bean:frequencyInstance,field:'frequency','errors')}">
    34                                     <input type="text" id="frequency" name="frequency" value="${fieldValue(bean:frequencyInstance,field:'frequency')}"/>
     33                                <td valign="top" class="value ${hasErrors(bean:periodInstance,field:'isActive','errors')}">
     34                                    <g:checkBox name="isActive" value="${periodInstance?.isActive}" ></g:checkBox>
    3535                                </td>
    3636                            </tr>
     
    3838                            <tr class="prop">
    3939                                <td valign="top" class="name">
    40                                     <label for="isActive">Is Active:</label>
     40                                    <label for="period">Period:</label>
    4141                                </td>
    42                                 <td valign="top" class="value ${hasErrors(bean:frequencyInstance,field:'isActive','errors')}">
    43                                     <g:checkBox name="isActive" value="${frequencyInstance?.isActive}" ></g:checkBox>
     42                                <td valign="top" class="value ${hasErrors(bean:periodInstance,field:'period','errors')}">
     43                                    <input type="text" id="period" name="period" value="${fieldValue(bean:periodInstance,field:'period')}"/>
    4444                                </td>
    4545                            </tr>
Note: See TracChangeset for help on using the changeset viewer.