- Timestamp:
- Mar 9, 2011, 5:28:45 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/simpleWizard/simpleWizard/samples.gsp
r1608 r1609 48 48 </td> 49 49 <td> 50 <g:select rel="template" entity="${encodedEntity.Sample}" name="sample_template_id" optionKey="id" optionValue="name" from="${templates.Sample}" />50 <g:select rel="template" entity="${encodedEntity.Sample}" name="sample_template_id" optionKey="id" optionValue="name" from="${templates.Sample}" value="${sampleForm?.templateId?.Sample}"/> 51 51 </td> 52 52 </tr> … … 56 56 </td> 57 57 <td> 58 <g:select rel="template" entity="${encodedEntity.Subject}" name="subject_template_id" optionKey="id" optionValue="name" from="${templates.Subject}"/>58 <g:select rel="template" entity="${encodedEntity.Subject}" name="subject_template_id" noSelection="${[null: '- no subject template -']}" optionKey="id" optionValue="name" from="${templates.Subject}" value="${sampleForm?.templateId?.Subject}" /> 59 59 </td> 60 </tr> 60 </tr> 61 62 <tr> 63 <td> 64 <div id="datatemplate">Choose type of sampling event template:</div> 65 </td> 66 <td> 67 <g:select rel="template" entity="${encodedEntity.SamplingEvent}" name="samplingEvent_template_id" noSelection="${[null: '- no sampling event template -']}" optionKey="id" optionValue="name" from="${templates.SamplingEvent}" value="${sampleForm?.templateId?.SamplingEvent}" /> 68 </td> 69 </tr> 61 70 </table> 62 71 </div>
Note: See TracChangeset
for help on using the changeset viewer.