

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <meta name="layout" content="main" />
        <title>Create TaskProcedure</title>
        <nav:resources override="true"/>
    </head>
    <body>
        <div class="nav">
            <nav:renderSubItems group="navAlt"/>
        </div>
        <div class="body">
            <g:render template="/shared/messages" />

            <g:hasErrors bean="${taskProcedureInstance}">
                <div class="errors">
                    <g:renderErrors bean="${taskProcedureInstance}" as="list" />
                </div>
            </g:hasErrors>

            <g:form action="save" method="post" >
                <input type="hidden" name="linkedTask.id" value="${taskProcedureInstance.linkedTask.id}" />

                <g:render template="taskProcedure" model="['taskProcedureInstance': taskProcedureInstance]" />

                <div class="buttons">
                    <span class="button"><input class="save" type="submit" value="Create" /></span>
                </div>
            </g:form>
        </div>
        <table style="display:none;">
            <g:render template="maintenanceAction" model="['tp': null,
                                                                                                'ma': null,
                                                                                                'i': '_clone',
                                                                                                'assemblies': assemblies]" />
        </table>
    </body>
</html>
