Thanks Ravi for the contribution. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1750306 13f79535-47bb-0310-9956-ffa450edef68
35 lines
1.7 KiB
Plaintext
35 lines
1.7 KiB
Plaintext
<div class="screenlet">
|
|
<div class="screenlet-title-bar">
|
|
<ul>
|
|
<li class="h3">${uiLabelMap.ContentSurveyOptions} - ${uiLabelMap.CommonId} ${surveyQuestion.surveyQuestionId!}</li>
|
|
</ul>
|
|
<br class="clear"/>
|
|
</div>
|
|
<div class="screenlet-body">
|
|
<table class="basic-table hover-bar" cellspacing="0">
|
|
<tr class="header-row">
|
|
<td>${uiLabelMap.CommonDescription}</td>
|
|
<td>${uiLabelMap.CommonSequenceNum}</td>
|
|
<td> </td>
|
|
<td> </td>
|
|
</tr>
|
|
<#assign alt_row = false>
|
|
<#list questionOptions as option>
|
|
<tr<#if alt_row> class="alternate-row"</#if>>
|
|
<td>${option.description!}</td>
|
|
<td>${option.sequenceNum!}</td>
|
|
<td><a href="<@ofbizUrl>EditSurveyQuestions?surveyId=${requestParameters.surveyId}&surveyQuestionId=${option.surveyQuestionId}&surveyOptionSeqId=${option.surveyOptionSeqId}</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonEdit}</a></td>
|
|
<td>
|
|
<form id="deleteSurveyQuestionOption_${option_index}" action="<@ofbizUrl>deleteSurveyQuestionOption</@ofbizUrl>" method="post">
|
|
<input type="hidden" name="surveyId" value="${requestParameters.surveyId}" />
|
|
<input type="hidden" name="surveyQuestionId" value="${option.surveyQuestionId}" />
|
|
<input type="hidden" name="surveyOptionSeqId" value="${option.surveyOptionSeqId}" />
|
|
<a href="javascript:document.getElementById('deleteSurveyQuestionOption_${option_index}').submit();"" class="buttontext">${uiLabelMap.CommonRemove}</a>
|
|
</form>
|
|
</td>
|
|
</tr>
|
|
<#assign alt_row = !alt_row>
|
|
</#list>
|
|
</table>
|
|
</div>
|
|
</div> |