Changeset 39 for trunk/src/grails-app/views/entry/create.gsp
- Timestamp:
- Jan 27, 2009, 11:02:59 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/grails-app/views/entry/create.gsp
r25 r39 29 29 <tr class="prop"> 30 30 <td valign="top" class="name"> 31 <label for="task">Task:</label> 32 </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> 35 </td> 36 </tr> 37 38 <tr class="prop"> 39 <td valign="top" class="name"> 31 40 <label for="comments">Comments:</label> 32 41 </td> … … 47 56 <tr class="prop"> 48 57 <td valign="top" class="name"> 49 <label for="duration ">Duration:</label>58 <label for="durationHours">Duration Hours:</label> 50 59 </td> 51 <td valign="top" class="value ${hasErrors(bean:entryInstance,field:'duration','errors')}"> 52 <input type="text" id="duration" name="duration" value="${fieldValue(bean:entryInstance,field:'duration')}" /> 60 <td valign="top" class="value ${hasErrors(bean:entryInstance,field:'durationHours','errors')}"> 61 <input type="text" id="durationHours" name="durationHours" value="${fieldValue(bean:entryInstance,field:'durationHours')}" /> 62 </td> 63 </tr> 64 65 <tr class="prop"> 66 <td valign="top" class="name"> 67 <label for="durationMinutes">Duration Minutes:</label> 68 </td> 69 <td valign="top" class="value ${hasErrors(bean:entryInstance,field:'durationMinutes','errors')}"> 70 <input type="text" id="durationMinutes" name="durationMinutes" value="${fieldValue(bean:entryInstance,field:'durationMinutes')}" /> 53 71 </td> 54 72 </tr> … … 72 90 </tr> 73 91 74 <tr class="prop">75 <td valign="top" class="name">76 <label for="task">Task:</label>77 </td>78 <td valign="top" class="value ${hasErrors(bean:entryInstance,field:'task','errors')}">79 <g:select optionKey="id" from="${Task.list()}" name="task.id" value="${entryInstance?.task?.id}" ></g:select>80 </td>81 </tr>82 83 92 </tbody> 84 93 </table>
Note: See TracChangeset
for help on using the changeset viewer.