Changeset 49 for trunk/src/grails-app/views/entry
- Timestamp:
- Feb 3, 2009, 6:06:01 PM (16 years ago)
- Location:
- trunk/src/grails-app/views/entry
- Files:
-
- 2 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> -
trunk/src/grails-app/views/entry/show.gsp
r39 r49 11 11 <span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}">Home</a></span> 12 12 <span class="menuButton"><g:link class="list" action="list">Entry List</g:link></span> 13 <span class="menuButton"><g:link class="create" action="create">New Entry</g:link></span>14 13 </div> 15 14 <div class="body">
Note: See TracChangeset
for help on using the changeset viewer.