Changeset 96 for trunk/src/grails-app/views/task/edit.gsp
- Timestamp:
- Mar 31, 2009, 5:43:09 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/grails-app/views/task/edit.gsp
r93 r96 25 25 <g:form method="post" > 26 26 <input type="hidden" name="id" value="${taskInstance?.id}" /> 27 <input type="hidden" name="version" value="${taskInstance?.version}" /> 27 28 <div class="dialog"> 28 29 <table> … … 43 44 </td> 44 45 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'description','errors')}"> 45 <input type="text" maxlength=" 50" id="description" name="description" value="${fieldValue(bean:taskInstance,field:'description')}"/>46 <input type="text" maxlength="75" id="description" name="description" value="${fieldValue(bean:taskInstance,field:'description')}"/> 46 47 </td> 47 48 </tr> … … 100 101 <ul> 101 102 <g:each var="a" in="${taskInstance?.assignedPersons?}"> 102 <li><g:link controller=" person" action="show" id="${a.id}">${a?.encodeAsHTML()}</g:link></li>103 </g:each> 104 </ul> 105 <g:link controller=" person" params="['task.id':taskInstance?.id]" action="create">AddPerson</g:link>103 <li><g:link controller="assignedPerson" action="show" id="${a.id}">${a?.encodeAsHTML()}</g:link></li> 104 </g:each> 105 </ul> 106 <g:link controller="assignedPerson" params="['task.id':taskInstance?.id]" action="create">Add AssignedPerson</g:link> 106 107 107 108 </td> … … 153 154 <tr class="prop"> 154 155 <td valign="top" class="name"> 155 <label for="taskModifications">Modifications:</label>156 </td>157 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'taskModifications','errors')}">158 159 <ul>160 <g:each var="m" in="${taskInstance?.taskModifications?}">161 <li><g:link controller="taskModification" action="show" id="${m.id}">${m?.encodeAsHTML()}</g:link></li>162 </g:each>163 </ul>164 <g:link controller="taskModification" params="['task.id':taskInstance?.id]" action="create">Add Modification</g:link>165 166 </td>167 </tr>168 169 <tr class="prop">170 <td valign="top" class="name">171 156 <label for="subTasks">Sub Tasks:</label> 172 157 </td> … … 198 183 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'taskGroup','errors')}"> 199 184 <g:select optionKey="id" from="${TaskGroup.list()}" name="taskGroup.id" value="${taskInstance?.taskGroup?.id}" ></g:select> 185 </td> 186 </tr> 187 188 <tr class="prop"> 189 <td valign="top" class="name"> 190 <label for="taskModifications">Task Modifications:</label> 191 </td> 192 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'taskModifications','errors')}"> 193 194 <ul> 195 <g:each var="t" in="${taskInstance?.taskModifications?}"> 196 <li><g:link controller="taskModification" action="show" id="${t.id}">${t?.encodeAsHTML()}</g:link></li> 197 </g:each> 198 </ul> 199 <g:link controller="taskModification" params="['task.id':taskInstance?.id]" action="create">Add TaskModification</g:link> 200 200 201 </td> 201 202 </tr>
Note: See TracChangeset
for help on using the changeset viewer.