Index: trunk/grails-app/views/taskDetailed/show.gsp
===================================================================
--- trunk/grails-app/views/taskDetailed/show.gsp	(revision 221)
+++ trunk/grails-app/views/taskDetailed/show.gsp	(revision 225)
@@ -30,9 +30,9 @@
 
                 <richui:tabLabels>
-                    <richui:tabLabel selected="${showTaskTab}" title="Task #${taskInstance.id}" />
-                    <richui:tabLabel selected="${showProcedureTab}" title="Procedure" />
-                    <richui:tabLabel selected="${showRecurrenceTab}" title="Recurrence" />
-                    <richui:tabLabel selected="${showInventoryTab}" title="Inventory" />
-                    <richui:tabLabel selected="${showSubTasksTab}" title="Sub Tasks" />
+                    <richui:tabLabel selected="${showTab.task}" title="Task #${taskInstance.id}" />
+                    <richui:tabLabel selected="${showTab.procedure}" title="Procedure" />
+                    <richui:tabLabel selected="${showTab.recurrence}" title="Recurrence" />
+                    <richui:tabLabel selected="${showTab.inventory}" title="Inventory" />
+                    <richui:tabLabel selected="${showTab.subTasks}" title="Sub Tasks" />
                 </richui:tabLabels>
 
@@ -530,5 +530,5 @@
                         <g:if test="${inventoryMovementList.isEmpty()}">
                             <br />
-                            No Inventory Used.
+                            No Inventory Movements.
                             <br />
                             <br />
@@ -567,6 +567,6 @@
                         </g:else>
 
-                        <g:form controller="inventoryMovementDetailed" >
-                            <input type="hidden" name="task.id" value="${taskInstance?.id}" />
+                        <g:form controller="inventoryItemDetailed" >
+                            <g:hiddenField name="task.id" value="${taskInstance?.id}" />
                             <div class="buttons">
                                 <g:if test="${!inventoryMovementList.isEmpty()}">
@@ -575,5 +575,5 @@
                                 </g:if>
                                 <span class="button">
-                                    <g:actionSubmit value="Add" action="create"  class="add"/>
+                                    <g:actionSubmit action="findInventoryItemForMovement" class="add" value="Add"/>
                                 </span>
                             </div>
