[133] | 1 | |
---|
| 2 | |
---|
| 3 | <html> |
---|
| 4 | <head> |
---|
| 5 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> |
---|
| 6 | <meta name="layout" content="main" /> |
---|
[147] | 7 | <title>Create TaskProcedure</title> |
---|
| 8 | <nav:resources override="true"/> |
---|
[133] | 9 | </head> |
---|
| 10 | <body> |
---|
| 11 | <div class="nav"> |
---|
[147] | 12 | <nav:renderSubItems group="navAlt"/> |
---|
[133] | 13 | </div> |
---|
| 14 | <div class="body"> |
---|
| 15 | <g:if test="${flash.message}"> |
---|
| 16 | <div class="message">${flash.message}</div> |
---|
| 17 | </g:if> |
---|
| 18 | <g:hasErrors bean="${taskProcedureInstance}"> |
---|
| 19 | <div class="errors"> |
---|
| 20 | <g:renderErrors bean="${taskProcedureInstance}" as="list" /> |
---|
| 21 | </div> |
---|
| 22 | </g:hasErrors> |
---|
| 23 | <g:form action="save" method="post" > |
---|
[134] | 24 | <input type="hidden" name="taskInstance.id" value="${taskInstance?.id}" /> |
---|
| 25 | |
---|
[133] | 26 | <div class="dialog"> |
---|
| 27 | <table> |
---|
| 28 | <tbody> |
---|
| 29 | |
---|
| 30 | <tr class="prop"> |
---|
| 31 | <td valign="top" class="name"> |
---|
| 32 | <label for="name">Name:</label> |
---|
| 33 | </td> |
---|
| 34 | <td valign="top" class="value ${hasErrors(bean:taskProcedureInstance,field:'name','errors')}"> |
---|
[134] | 35 | <input type="text" class="description" maxlength="75" id="name" name="name" value="${fieldValue(bean:taskProcedureInstance,field:'name')}"/> |
---|
[133] | 36 | </td> |
---|
| 37 | </tr> |
---|
| 38 | |
---|
| 39 | <tr class="prop"> |
---|
| 40 | <td valign="top" class="name"> |
---|
| 41 | <label for="description">Description:</label> |
---|
| 42 | </td> |
---|
| 43 | <td valign="top" class="value ${hasErrors(bean:taskProcedureInstance,field:'description','errors')}"> |
---|
[134] | 44 | <input type="text" class="description" maxlength="100" id="description" name="description" value="${fieldValue(bean:taskProcedureInstance,field:'description')}"/> |
---|
[133] | 45 | </td> |
---|
| 46 | </tr> |
---|
| 47 | |
---|
| 48 | <tr class="prop"> |
---|
| 49 | <td valign="top" class="name"> |
---|
| 50 | <label for="isActive">Is Active:</label> |
---|
| 51 | </td> |
---|
| 52 | <td valign="top" class="value ${hasErrors(bean:taskProcedureInstance,field:'isActive','errors')}"> |
---|
| 53 | <g:checkBox name="isActive" value="${taskProcedureInstance?.isActive}" ></g:checkBox> |
---|
| 54 | </td> |
---|
[134] | 55 | </tr> |
---|
| 56 | |
---|
| 57 | <g:if test="${taskInstance}"> |
---|
| 58 | <tr class="prop"> |
---|
| 59 | <td valign="top" class="name"> |
---|
| 60 | <label for="taskInstance">Linking with Task:</label> |
---|
| 61 | </td> |
---|
| 62 | <td valign="top" name="taskInstance" class="value"> |
---|
| 63 | ${taskInstance} |
---|
| 64 | </td> |
---|
| 65 | </tr> |
---|
| 66 | </g:if> |
---|
[133] | 67 | |
---|
| 68 | </tbody> |
---|
| 69 | </table> |
---|
| 70 | </div> |
---|
| 71 | <div class="buttons"> |
---|
| 72 | <span class="button"><input class="save" type="submit" value="Create" /></span> |
---|
| 73 | </div> |
---|
| 74 | </g:form> |
---|
| 75 | </div> |
---|
| 76 | </body> |
---|
| 77 | </html> |
---|