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

Last change on this file since 830 was 826, checked in by gav, 14 years ago

AJAX PM Entry, first draft.

File size: 1.2 KB
RevLine 
[822]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]" />
[826]25        <br />
26
27        <div id="maintenanceEntryContainer"></div>
28
29        <div style="text-align:right;" id="maintenanceEntryButton">
30            <span class="buttons">
31                <input type="button"
32                            class="add"
33                            value="Add Maintenance Entry"
34                            onclick="getMaintenanceEntryForm(${taskInstance?.id}, 6)" />
35            </span>
36        </div>
[823]37    </g:else>
Note: See TracBrowser for help on using the repository browser.