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

Last change on this file since 776 was 776, checked in by gav, 9 years ago

TaskProcedure? improvements, filter assemblies, pre populate a maintenanceAction for each assembly at creation.

File size: 1.6 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,
35                                                                                                'ma': null,
36                                                                                                'i': '_clone',
37                                                                                                'assemblies': assemblies]" />
38        </table>
39    </body>
40</html>
Note: See TracBrowser for help on using the repository browser.