source: trunk/grails-app/views/taskDetailed/_showProcedureTab.gsp @ 822

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

Refactor task show view to use templates.

File size: 809 bytes
Line 
1
2    <g:if test="${!taskProcedureExits}">
3        <br />
4        No Procedure linked.
5        <br />
6        <br />
7        <g:form controller="taskProcedureDetailed" >
8            <g:hiddenField name="taskInstance.id" value="${taskInstance?.id}" />
9
10            <div class="buttons">
11                <span class="button">
12                    <g:actionSubmit value="New" action="create" class="add"/>
13                </span>
14                <span class="button">
15                    <g:actionSubmit value="Search" action="search" class="search"/>
16                </span>
17            </div>
18
19        </g:form>
20
21    </g:if>
22    <g:else>
23        <g:render template="/taskProcedureDetailed/taskProcedureRevision"
24                            model="['taskProcedureRevision':taskProcedureRevision]" />
25    </g:else>
Note: See TracBrowser for help on using the repository browser.