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