source: branches/features/taskProcedureRework/grails-app/views/taskProcedureDetailed/edit.gsp @ 785

Last change on this file since 785 was 778, checked in by gav, 14 years ago

TaskProcedure javascript improvements, move addChild function to dynamicOneToMany.js

File size: 1.9 KB
Line 
1
2
3<html>
4    <head>
5        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
6        <meta name="layout" content="main" />
7        <title>Edit TaskProcedure</title>
8        <nav:resources override="true"/>
9        <g:javascript src="dynamicOneToMany.js" />
10    </head>
11    <body>
12        <div class="nav">
13            <nav:renderSubItems group="navAlt"/>
14        </div>
15        <div class="body">
16            <g:render template="/shared/messages" />
17
18            <g:hasErrors bean="${taskProcedureInstance}">
19                <div class="errors">
20                    <g:renderErrors bean="${taskProcedureInstance}" as="list" />
21                </div>
22            </g:hasErrors>
23
24            <g:form method="post" >
25                <input type="hidden" name="id" value="${taskProcedureInstance?.id}" />
26                <input type="hidden" name="version" value="${taskProcedureInstance?.version}" />
27
28                <g:render template="taskProcedure" model="['taskProcedureInstance': taskProcedureInstance]" />
29
30                <div class="buttons">
31                    <span class="button"><g:actionSubmit class="save" value="Update" /></span>
32                    <span class="button"><g:actionSubmit class="cancel" value="Cancel" action="Show"/></span>
33                    <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span>
34                </div>
35            </g:form>
36        </div>
37        <table style="display:none;">
38            <g:render template="maintenanceAction" model="['tp': null,
39                                                                                                'ma': null,
40                                                                                                'i': '_clone',
41                                                                                                'assemblies': assemblies]" />
42        </table>
43    </body>
44</html>
Note: See TracBrowser for help on using the repository browser.