Changeset 241 for trunk/grails-app/views/task
- Timestamp:
- Dec 23, 2009, 3:05:12 PM (15 years ago)
- Location:
- trunk/grails-app/views/task
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/task/edit.gsp
r240 r241 139 139 <tr class="prop"> 140 140 <td valign="top" class="name"> 141 <label for="assigned Groups">Assigned Groups:</label>142 </td> 143 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'assigned Groups','errors')}">144 145 <ul> 146 <g:each var="a" in="${taskInstance?.assigned Groups?}">147 <li><g:link controller="assigned Group" action="show" id="${a.id}">${a?.encodeAsHTML()}</g:link></li>148 </g:each> 149 </ul> 150 <g:link controller="assigned Group" params="['task.id':taskInstance?.id]" action="create">Add AssignedGroup</g:link>141 <label for="assignedPersons">Assigned Persons:</label> 142 </td> 143 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'assignedPersons','errors')}"> 144 145 <ul> 146 <g:each var="a" in="${taskInstance?.assignedPersons?}"> 147 <li><g:link controller="assignedPerson" action="show" id="${a.id}">${a?.encodeAsHTML()}</g:link></li> 148 </g:each> 149 </ul> 150 <g:link controller="assignedPerson" params="['task.id':taskInstance?.id]" action="create">Add AssignedPerson</g:link> 151 151 152 152 </td> -
trunk/grails-app/views/task/show.gsp
r240 r241 114 114 115 115 <tr class="prop"> 116 <td valign="top" class="name">Assigned Groups:</td>117 118 <td valign="top" style="text-align:left;" class="value"> 119 <ul> 120 <g:each var="a" in="${taskInstance.assigned Groups}">121 <li><g:link controller="assigned Group" action="show" id="${a.id}">${a?.encodeAsHTML()}</g:link></li>116 <td valign="top" class="name">Assigned Persons:</td> 117 118 <td valign="top" style="text-align:left;" class="value"> 119 <ul> 120 <g:each var="a" in="${taskInstance.assignedPersons}"> 121 <li><g:link controller="assignedPerson" action="show" id="${a.id}">${a?.encodeAsHTML()}</g:link></li> 122 122 </g:each> 123 123 </ul>
Note: See TracChangeset
for help on using the changeset viewer.