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
RevLine 
[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" />
7        <title>Edit TaskProcedure</title>
[147]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">
[770]15            <g:render template="/shared/messages" />
16
[133]17            <g:hasErrors bean="${taskProcedureInstance}">
[770]18                <div class="errors">
19                    <g:renderErrors bean="${taskProcedureInstance}" as="list" />
20                </div>
[133]21            </g:hasErrors>
[770]22
[133]23            <g:form method="post" >
24                <input type="hidden" name="id" value="${taskProcedureInstance?.id}" />
25                <input type="hidden" name="version" value="${taskProcedureInstance?.version}" />
[754]26
[770]27                <g:render template="taskProcedure" model="['taskProcedureInstance': taskProcedureInstance]" />
[754]28
[133]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>
[770]35        <table style="display:none;">
36            <g:render template="maintenanceAction" model="['tp': null, 'ma': null, 'i': '_clone']" />
37        </table>
[133]38    </body>
39</html>
Note: See TracBrowser for help on using the repository browser.