source: branches/features/taskProcedureRework/grails-app/views/taskProcedureDetailed/create.gsp @ 772

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

Domain change, improved draft of creating taskProcedure dynamic form.

File size: 1.3 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" />
[147]7        <title>Create TaskProcedure</title>
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>
[760]22
[133]23            <g:form action="save" method="post" >
[770]24                <input type="hidden" name="linkedTask.id" value="${taskProcedureInstance.linkedTask.id}" />
[173]25
[770]26                <g:render template="taskProcedure" model="['taskProcedureInstance': taskProcedureInstance]" />
[173]27
[133]28                <div class="buttons">
29                    <span class="button"><input class="save" type="submit" value="Create" /></span>
30                </div>
31            </g:form>
32        </div>
[770]33        <table style="display:none;">
34            <g:render template="maintenanceAction" model="['tp': null, 'ma': null, 'i': '_clone']" />
35        </table>
[133]36    </body>
37</html>
Note: See TracBrowser for help on using the repository browser.