Changeset 770 for branches/features/taskProcedureRework/grails-app/views/taskProcedureDetailed/create.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/create.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> 23 22 24 23 <g:form action="save" method="post" > 25 <input type="hidden" name="linkedTask.id" value="${taskInstance.id}" />24 <input type="hidden" name="linkedTask.id" value="${taskProcedureInstance.linkedTask.id}" /> 26 25 27 <div class="dialog"> 28 <table> 29 <tbody> 26 <g:render template="taskProcedure" model="['taskProcedureInstance': taskProcedureInstance]" /> 30 27 31 <tr class="prop">32 <td valign="top" class="name">33 <label for="taskInstance">Parent Task:</label>34 </td>35 <td valign="top" name="taskInstance" class="value">36 <g:link controller="taskDetailed" action="show" id="${taskInstance.id}">37 ${taskInstance.encodeAsHTML()}38 </g:link>39 </td>40 </tr>41 42 <tr class="prop">43 <td valign="top" class="name">44 <label for="maintenanceActions">Maintenance Actions:</label>45 </td>46 <td valign="top" class="value ${hasErrors(bean:taskProcedureInstance,field:'maintenanceActions','errors')}">47 <g:render template="maintenanceActions" model="['taskProcedureInstance': taskProcedureInstance]" />48 </td>49 </tr>50 51 </tbody>52 </table>53 </div>54 28 <div class="buttons"> 55 29 <span class="button"><input class="save" type="submit" value="Create" /></span> … … 57 31 </g:form> 58 32 </div> 33 <table style="display:none;"> 34 <g:render template="maintenanceAction" model="['tp': null, 'ma': null, 'i': '_clone']" /> 35 </table> 59 36 </body> 60 37 </html>
Note: See TracChangeset
for help on using the changeset viewer.