Changeset 191 for trunk/grails-app/views/entryDetailed
- Timestamp:
- Nov 19, 2009, 9:16:21 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/entryDetailed/create.gsp
r186 r191 24 24 <g:form action="save" method="post" > 25 25 <g:hiddenField name="task.id" value="${entryInstance.task.id}" /> 26 <g:hiddenField name="entryType.id" value="${entryInstance.entryType.id}" /> 26 27 <div class="dialog"> 27 28 <table> … … 33 34 </td> 34 35 <td valign="top" class="name"> 35 ${entryInstance?.task} 36 <g:link controller="taskDetailed" action="show" id="${entryInstance.task.id}" > 37 ${entryInstance?.task} 38 </g:link> 36 39 </td> 37 </tr> 40 </tr> 38 41 39 42 <tr class="prop"> 40 43 <td valign="top" class="name"> 41 <label for="comment"> Comment:</label>44 <label for="comment">${entryInstance?.entryType}:</label> 42 45 </td> 43 46 <td valign="top" class="value ${hasErrors(bean:entryInstance,field:'comment','errors')}"> … … 71 74 </td> 72 75 </tr> 73 74 <tr class="prop">75 <td valign="top" class="name">76 <label for="entryType">Entry Type:</label>77 </td>78 <td valign="top" class="value ${hasErrors(bean:entryInstance,field:'entryType','errors')}">79 <g:select optionKey="id" from="${EntryType.list()}" name="entryType.id" value="${entryInstance?.entryType?.id}" ></g:select>80 </td>81 </tr>82 76 83 77 </tbody>
Note: See TracChangeset
for help on using the changeset viewer.