Changeset 770 for branches/features/taskProcedureRework/grails-app/views/taskProcedureDetailed/edit.gsp
- Timestamp:
- Feb 2, 2011, 8:38:20 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/features/taskProcedureRework/grails-app/views/taskProcedureDetailed/edit.gsp
r762 r770 13 13 </div> 14 14 <div class="body"> 15 <g:if test="${flash.message}"> 16 <div class="message">${flash.message}</div> 17 </g:if> 15 <g:render template="/shared/messages" /> 16 18 17 <g:hasErrors bean="${taskProcedureInstance}"> 19 <div class="errors">20 <g:renderErrors bean="${taskProcedureInstance}" as="list" />21 </div>18 <div class="errors"> 19 <g:renderErrors bean="${taskProcedureInstance}" as="list" /> 20 </div> 22 21 </g:hasErrors> 22 23 23 <g:form method="post" > 24 24 <input type="hidden" name="id" value="${taskProcedureInstance?.id}" /> 25 25 <input type="hidden" name="version" value="${taskProcedureInstance?.version}" /> 26 <div class="dialog">27 <table>28 <tbody>29 26 30 <tr class="prop"> 31 <td valign="top" class="name">Id:</td> 32 <td valign="top" class="value">${fieldValue(bean:taskProcedureInstance, field:'id')}</td> 33 </tr> 27 <g:render template="taskProcedure" model="['taskProcedureInstance': taskProcedureInstance]" /> 34 28 35 <tr class="prop">36 <td valign="top" class="name">37 <label for="taskInstance">Linked Task:</label>38 </td>39 <td valign="top" name="taskInstance" class="value">40 <g:link controller="taskDetailed" action="show" id="${taskProcedureInstance.linkedTask.id}">41 ${taskProcedureInstance.linkedTask.encodeAsHTML()}42 </g:link>43 </td>44 </tr>45 46 <tr class="prop">47 <td valign="top" class="name">48 <label for="maintenanceActions">Maintenance Actions:</label>49 </td>50 51 <td valign="top" class="value ${hasErrors(bean:taskProcedureInstance,field:'maintenanceActions','errors')}">52 <g:render template="maintenanceActions" model="['taskProcedureInstance': taskProcedureInstance]" />53 </td>54 </tr>55 56 </tbody>57 </table>58 </div>59 29 <div class="buttons"> 60 30 <span class="button"><g:actionSubmit class="save" value="Update" /></span> … … 63 33 </g:form> 64 34 </div> 35 <table style="display:none;"> 36 <g:render template="maintenanceAction" model="['tp': null, 'ma': null, 'i': '_clone']" /> 37 </table> 65 38 </body> 66 39 </html>
Note: See TracChangeset
for help on using the changeset viewer.