View File | Revision Log | Show Annotations | Download File | View Changeset
/hippo/hippo-demos/hippo-go-green/trunk/site/src/main/webapp/WEB-INF/jsp/easyforms/formtemplate.jsp
(Generate patch)

Comparing hippo-demos/hippo-go-green/trunk/site/src/main/webapp/WEB-INF/jsp/easyforms/formtemplate.jsp (file contents):
Revision 30779 by lswartsenburg, Fri Aug 26 15:30:38 2011 UTC vs.
Revision 30780 by evanegmond, Fri Oct 21 08:43:36 2011 UTC

45 <p><c:out value="${field.hint}"/></p> 45 <p><c:out value="${field.hint}"/></p>
46 </div> 46 </div>
47 </c:when> 47 </c:when>
48 <%-- simple types layout--%> 48 <%-- simple types layout--%>
49 <c:when test="${field.textField or field.password or field.textArea or field.dropdown or field.radioBox or field.checkBox}"> 49 <c:when test="${field.textField or field.password or field.textArea or field.dropdown or field.radioBox or field.checkBox}">
50 <div class="ef-field"> 50 <div class="ef-field clearfix">
51 <label><c:out value="${field.label}"/><span class="ef-req"><c:out value="${field.requiredMarker}"/></span></label>${field.html}<span 51 <label><c:out value="${field.label}"/><span class="ef-req"><c:out value="${field.requiredMarker}"/></span></label>${field.html}<span
52 class="ef-hint"><c:out value="${field.hint}"/></span> 52 class="ef-hint"><c:out value="${field.hint}"/></span>
53 </div> 53 </div>
54 </c:when> 54 </c:when>
55 <c:when test="${field.radioGroup}"> 55 <c:when test="${field.radioGroup}">
56 <div class="ef-field"> 56 <div class="ef-field clearfix">
57 <label><c:out value="${field.label}"/><span class="ef-req"><c:out value="${field.requiredMarker}"/></span></label> 57 <label><c:out value="${field.label}"/><span class="ef-req"><c:out value="${field.requiredMarker}"/></span></label>
58 <c:forEach var="radio" items="${field.fields}"> 58 <c:forEach var="radio" items="${field.fields}">
59 <p>${radio.html}<span><c:out value="${radio.label}"/></span></p> 59 <p>${radio.html}<span><c:out value="${radio.label}"/></span></p>
60 </c:forEach> 60 </c:forEach>
61 <c:if test="${field.allowOther}"> 61 <c:if test="${field.allowOther}">
63 </c:if> 63 </c:if>
64 <span class="ef-hint"><c:out value="${field.hint}"/></span> 64 <span class="ef-hint"><c:out value="${field.hint}"/></span>
65 </div> 65 </div>
66 </c:when> 66 </c:when>
67 <c:when test="${field.checkBoxGroup}"> 67 <c:when test="${field.checkBoxGroup}">
68 <div class="ef-field"> 68 <div class="ef-field clearfix">
69 <label><c:out value="${field.label}"/><span class="ef-req">${field.requiredMarker}</span></label> 69 <label><c:out value="${field.label}"/><span class="ef-req">${field.requiredMarker}</span></label>
70 <c:forEach var="box" items="${field.fields}"> 70 <c:forEach var="box" items="${field.fields}">
71 <p>${box.html} <c:out value="${box.label}"/></p> 71 <p>${box.html} <c:out value="${box.label}"/></p>
72 </c:forEach> 72 </c:forEach>
73 <c:if test="${field.allowOther}"> 73 <c:if test="${field.allowOther}">
76 <span class="ef-hint"><c:out value="${field.hint}"/></span> 76 <span class="ef-hint"><c:out value="${field.hint}"/></span>
77 </div> 77 </div>
78 </c:when> 78 </c:when>
79 <%-- LIKERT--%> 79 <%-- LIKERT--%>
80 <c:when test="${field.likert}"> 80 <c:when test="${field.likert}">
81 <div class="ef-field"> 81 <div class="ef-field clearfix">
82 <label><c:out value="${field.label}"/><span class="ef-req"><c:out value="${field.requiredMarker}"/></span></label> 82 <label><c:out value="${field.label}"/><span class="ef-req"><c:out value="${field.requiredMarker}"/></span></label>
83 <table class="ef-likert-table"> 83 <table class="ef-likert-table">
84 <tr> 84 <tr>
85 <td>&nbsp;</td> 85 <td>&nbsp;</td>
86 <c:forEach var="option" items="${field.options}"> 86 <c:forEach var="option" items="${field.options}">

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines