Ignore:
Timestamp:
Mar 29, 2009, 11:56:11 PM (15 years ago)
Author:
gav
Message:

Rename Modification and ModificationType? domains to TaskModification? and TaskModificationType? respectively. Re-generate controller and views. Update ERD. It's an evil but a necessary mouthful as we may want to track other modifications later.

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

Legend:

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

    r66 r93  
    55        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    66        <meta name="layout" content="main" />
    7         <title>Create ModificationType</title>         
     7        <title>Create TaskModificationType</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">ModificationType List</g:link></span>
     12            <span class="menuButton"><g:link class="list" action="list">TaskModificationType List</g:link></span>
    1313        </div>
    1414        <div class="body">
    15             <h1>Create ModificationType</h1>
     15            <h1>Create TaskModificationType</h1>
    1616            <g:if test="${flash.message}">
    1717            <div class="message">${flash.message}</div>
    1818            </g:if>
    19             <g:hasErrors bean="${modificationTypeInstance}">
     19            <g:hasErrors bean="${taskModificationTypeInstance}">
    2020            <div class="errors">
    21                 <g:renderErrors bean="${modificationTypeInstance}" as="list" />
     21                <g:renderErrors bean="${taskModificationTypeInstance}" as="list" />
    2222            </div>
    2323            </g:hasErrors>
     
    3131                                    <label for="description">Description:</label>
    3232                                </td>
    33                                 <td valign="top" class="value ${hasErrors(bean:modificationTypeInstance,field:'description','errors')}">
    34                                     <input type="text" id="description" name="description" value="${fieldValue(bean:modificationTypeInstance,field:'description')}"/>
     33                                <td valign="top" class="value ${hasErrors(bean:taskModificationTypeInstance,field:'description','errors')}">
     34                                    <input type="text" id="description" name="description" value="${fieldValue(bean:taskModificationTypeInstance,field:'description')}"/>
    3535                                </td>
    3636                            </tr>
     
    4040                                    <label for="isActive">Is Active:</label>
    4141                                </td>
    42                                 <td valign="top" class="value ${hasErrors(bean:modificationTypeInstance,field:'isActive','errors')}">
    43                                     <g:checkBox name="isActive" value="${modificationTypeInstance?.isActive}" ></g:checkBox>
     42                                <td valign="top" class="value ${hasErrors(bean:taskModificationTypeInstance,field:'isActive','errors')}">
     43                                    <g:checkBox name="isActive" value="${taskModificationTypeInstance?.isActive}" ></g:checkBox>
    4444                                </td>
    4545                            </tr>
     
    4949                                    <label for="name">Name:</label>
    5050                                </td>
    51                                 <td valign="top" class="value ${hasErrors(bean:modificationTypeInstance,field:'name','errors')}">
    52                                     <input type="text" id="name" name="name" value="${fieldValue(bean:modificationTypeInstance,field:'name')}"/>
     51                                <td valign="top" class="value ${hasErrors(bean:taskModificationTypeInstance,field:'name','errors')}">
     52                                    <input type="text" id="name" name="name" value="${fieldValue(bean:taskModificationTypeInstance,field:'name')}"/>
    5353                                </td>
    5454                            </tr>
Note: See TracChangeset for help on using the changeset viewer.