Changeset 49 for trunk/src/grails-app/views/entry/create.gsp
- Timestamp:
- Feb 3, 2009, 6:06:01 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/grails-app/views/entry/create.gsp
r39 r49 23 23 </g:hasErrors> 24 24 <g:form action="save" method="post" > 25 <g:hiddenField name="task.id" value="${entryInstance.task.id}" /> 25 26 <div class="dialog"> 26 27 <table> … … 31 32 <label for="task">Task:</label> 32 33 </td> 33 <td valign="top" class="value ${hasErrors(bean:entryInstance,field:'task','errors')}"> 34 <g:select optionKey="id" from="${Task.list()}" name="task.id" value="${entryInstance?.task?.id}" ></g:select> 34 <td valign="top" class="name"> 35 ${entryInstance?.task?.name} 36 </td> 37 </tr> 38 39 <tr class="prop"> 40 <td valign="top" class="name"> 41 <label for="date">Date:</label> 42 </td> 43 <td valign="top" class="value ${hasErrors(bean:entryInstance,field:'date','errors')}"> 44 <g:datePicker name="date" precision='day' value="${entryInstance?.date}" ></g:datePicker> 35 45 </td> 36 46 </tr> … … 45 55 </tr> 46 56 47 <tr class="prop"> 48 <td valign="top" class="name"> 49 <label for="date">Date:</label> 50 </td> 51 <td valign="top" class="value ${hasErrors(bean:entryInstance,field:'date','errors')}"> 52 <g:datePicker name="date" value="${entryInstance?.date}" ></g:datePicker> 53 </td> 54 </tr> 57 55 58 56 59 <tr class="prop"> … … 81 84 </tr> 82 85 83 <tr class="prop">84 <td valign="top" class="name">85 <label for="person">Person:</label>86 </td>87 <td valign="top" class="value ${hasErrors(bean:entryInstance,field:'person','errors')}">88 <g:select optionKey="id" from="${Person.list()}" name="person.id" value="${entryInstance?.person?.id}" ></g:select>89 </td>90 </tr>91 92 86 </tbody> 93 87 </table>
Note: See TracChangeset
for help on using the changeset viewer.