Changeset 93 for trunk/src/grails-app/views/taskModificationType/create.gsp
- Timestamp:
- Mar 29, 2009, 11:56:11 PM (15 years ago)
- 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 5 5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> 6 6 <meta name="layout" content="main" /> 7 <title>Create ModificationType</title>7 <title>Create TaskModificationType</title> 8 8 </head> 9 9 <body> 10 10 <div class="nav"> 11 11 <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> 13 13 </div> 14 14 <div class="body"> 15 <h1>Create ModificationType</h1>15 <h1>Create TaskModificationType</h1> 16 16 <g:if test="${flash.message}"> 17 17 <div class="message">${flash.message}</div> 18 18 </g:if> 19 <g:hasErrors bean="${ modificationTypeInstance}">19 <g:hasErrors bean="${taskModificationTypeInstance}"> 20 20 <div class="errors"> 21 <g:renderErrors bean="${ modificationTypeInstance}" as="list" />21 <g:renderErrors bean="${taskModificationTypeInstance}" as="list" /> 22 22 </div> 23 23 </g:hasErrors> … … 31 31 <label for="description">Description:</label> 32 32 </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')}"/> 35 35 </td> 36 36 </tr> … … 40 40 <label for="isActive">Is Active:</label> 41 41 </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> 44 44 </td> 45 45 </tr> … … 49 49 <label for="name">Name:</label> 50 50 </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')}"/> 53 53 </td> 54 54 </tr>
Note: See TracChangeset
for help on using the changeset viewer.