Changeset 247 for trunk/grails-app/views
- Timestamp:
- Dec 27, 2009, 8:13:08 PM (15 years ago)
- Location:
- trunk/grails-app/views
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/assignedGroupDetailed/create.gsp
r242 r247 21 21 </g:hasErrors> 22 22 <g:form action="save" method="post" > 23 < input type="hidden"name="task.id" value="${assignedGroupInstance?.task?.id}" />23 <g:hiddenField name="task.id" value="${assignedGroupInstance?.task?.id}" /> 24 24 <div class="dialog"> 25 25 <table> -
trunk/grails-app/views/assignedGroupDetailed/edit.gsp
r242 r247 21 21 </g:hasErrors> 22 22 <g:form method="post" > 23 <input type="hidden" name="id" value="${assignedGroupInstance?.id}" /> 24 <input type="hidden" name="version" value="${assignedGroupInstance?.version}" /> 23 <g:hiddenField name="id" value="${assignedGroupInstance?.id}" /> 24 <g:hiddenField name="task.id" value="${assignedGroupInstance?.task?.id}" /> 25 <g:hiddenField name="version" value="${assignedGroupInstance?.version}" /> 25 26 <div class="dialog"> 26 27 <table> -
trunk/grails-app/views/assignedGroupDetailed/show.gsp
r242 r247 51 51 <div class="buttons"> 52 52 <g:form> 53 <input type="hidden" name="id" value="${assignedGroupInstance?.id}" /> 53 <g:hiddenField name="id" value="${assignedGroupInstance?.id}" /> 54 <g:hiddenField name="task.id" value="${assignedGroupInstance?.task?.id}" /> 54 55 <span class="button"><g:actionSubmit class="edit" value="Edit" /></span> 55 56 <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span> -
trunk/grails-app/views/taskDetailed/edit.gsp
r246 r247 5 5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> 6 6 <meta name="layout" content="main" /> 7 <title>Edit Task #${taskInstance .id}</title>7 <title>Edit Task #${taskInstance?.id}</title> 8 8 <nav:resources override="true"/> 9 9 <resource:dateChooser /> … … 36 36 </tr> 37 37 38 <g:if test="${taskInstance .parentTask}">38 <g:if test="${taskInstance?.parentTask}"> 39 39 <tr class="prop"> 40 40 <td valign="top" class="name">Parent Task:</td> … … 166 166 <ul> 167 167 <g:each var="a" in="${taskInstance?.assignedGroups?}"> 168 <li><g:link controller="assignedGroupDetailed" action="edit" id="${a.id}" >${a?.encodeAsHTML()}</g:link></li>168 <li><g:link controller="assignedGroupDetailed" action="edit" id="${a.id}" params="['task.id':taskInstance?.id]">${a?.encodeAsHTML()}</g:link></li> 169 169 </g:each> 170 170 </ul> … … 181 181 <ul> 182 182 <g:each var="a" in="${taskInstance?.assignedPersons?}"> 183 <li><g:link controller="assignedPersonDetailed" action="edit" id="${a.id}" >${a?.encodeAsHTML()}</g:link></li>183 <li><g:link controller="assignedPersonDetailed" action="edit" id="${a.id}" params="['task.id':taskInstance?.id]">${a?.encodeAsHTML()}</g:link></li> 184 184 </g:each> 185 185 </ul> -
trunk/grails-app/views/taskDetailed/show.gsp
r246 r247 189 189 <ul> 190 190 <g:each var="a" in="${taskInstance.assignedGroups}"> 191 <li><g:link controller="assignedGroupDetailed" action="edit" id="${a.id}" >${a?.encodeAsHTML()}</g:link></li>191 <li><g:link controller="assignedGroupDetailed" action="edit" id="${a.id}" params="['task.id':taskInstance.id]">${a?.encodeAsHTML()}</g:link></li> 192 192 </g:each> 193 193 </ul> 194 <g:link controller="assignedGroupDetailed" params="['task.id':taskInstance?.id]" action="create">Add Assigned Group</g:link>194 <g:link controller="assignedGroupDetailed" action="create" params="['task.id':taskInstance.id]">Add Assigned Group</g:link> 195 195 </td> 196 196 … … 462 462 <div class="buttons"> 463 463 <span class="button"> 464 <g:actionSubmit value=" Create" action="create" class="add"/>464 <g:actionSubmit value="Add" action="create" class="add"/> 465 465 </span> 466 466 </div> … … 664 664 </g:else> 665 665 <span class="button"><g:actionSubmit action="listSubTasks" class="table" value="List" /></span> 666 <span class="button"><g:actionSubmit action="createSubTask" class=" add" value="Create" /></span>666 <span class="button"><g:actionSubmit action="createSubTask" class="save" value="Create" /></span> 667 667 </g:form> 668 668 </div> … … 678 678 <g:form> 679 679 <g:hiddenField name="id" value="${taskInstance?.id}" /> 680 <span class="button"><g:actionSubmit action="createSubTask" class=" add" value="Create" /></span>680 <span class="button"><g:actionSubmit action="createSubTask" class="save" value="Create" /></span> 681 681 </g:form> 682 682 </div>
Note: See TracChangeset
for help on using the changeset viewer.