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

Last change on this file since 771 was 770, checked in by gav, 14 years ago

Domain change, improved draft of creating taskProcedure dynamic form.

File size: 1.5 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    </head>
10    <body>
11        <div class="nav">
12            <nav:renderSubItems group="navAlt"/>
13        </div>
14        <div class="body">
15            <g:render template="/shared/messages" />
16
17            <g:hasErrors bean="${taskProcedureInstance}">
18                <div class="errors">
19                    <g:renderErrors bean="${taskProcedureInstance}" as="list" />
20                </div>
21            </g:hasErrors>
22
23            <g:form method="post" >
24                <input type="hidden" name="id" value="${taskProcedureInstance?.id}" />
25                <input type="hidden" name="version" value="${taskProcedureInstance?.version}" />
26
27                <g:render template="taskProcedure" model="['taskProcedureInstance': taskProcedureInstance]" />
28
29                <div class="buttons">
30                    <span class="button"><g:actionSubmit class="save" value="Update" /></span>
31                    <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span>
32                </div>
33            </g:form>
34        </div>
35        <table style="display:none;">
36            <g:render template="maintenanceAction" model="['tp': null, 'ma': null, 'i': '_clone']" />
37        </table>
38    </body>
39</html>
Note: See TracBrowser for help on using the repository browser.