Ignore:
Timestamp:
Feb 25, 2010, 3:06:16 PM (9 years ago)
Author:
keesvb
Message:

refactored template entity code into TemplateEntity?, added more template field types, updated BootStrap? with some more details on PPSH, changed code in study overview to get template field contents in a nicer way

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/study/show.gsp

    r211 r212  
    138138                <g:each in="${studyInstance.template.subjectFields}" var="g">
    139139               <td>
    140               <% if (g.type==dbnp.studycapturing.TemplateFieldType.INTEGER){ %>
    141                   <% print s.templateIntegerFields.get(g.toString())  %>
    142               <% } %>
    143                <% if (g.type==dbnp.studycapturing.TemplateFieldType.STRINGLIST){ %>
    144                 <% print s.templateStringFields.get(g.toString())  %>
    145               <% } %>
    146              <% if (g.type==dbnp.studycapturing.TemplateFieldType.FLOAT){ %>
    147                 <% print s.templateFloatFields.get(g.toString())  %>
    148               <% } %>
    149 
     140                  <% print s.getFieldValue(g.toString())  %>
    150141            </td>
    151142          </g:each>
Note: See TracChangeset for help on using the changeset viewer.