|
|
|
@ -172,12 +172,12 @@
|
|
|
|
|
</div>
|
|
|
|
|
<div id="divVote" class="form-group col-md-12" style="display:<#if model['rm']['bd_tp']! =='BF_CT_TP_4'>block <#else>none</#if>;">
|
|
|
|
|
<label class="col-sm-2 control-label no-padding-right">투표</label>
|
|
|
|
|
<button type="button" class="vote_add"><span class="hidden vote_add_icon">항목 추가 아이콘</span>항목 추가</button>
|
|
|
|
|
<button type="button" class="vote_add btn btn-default purple pull-right"><span class="hidden vote_add_icon">항목 추가 아이콘</span>항목 추가</button>
|
|
|
|
|
<div class="vote_list">
|
|
|
|
|
<#if model['lm_vote_list']?has_content>
|
|
|
|
|
<#list model['lm_vote_list'] as item>
|
|
|
|
|
<div id="array_tag" class="control-label text-left" style="padding-left:260px;">
|
|
|
|
|
<input class="vote_input" name="vote_content" placeholder="투표 내용을 입력하세요." value="${item['v_content']!}" class="form-control" style="width:90%">
|
|
|
|
|
<input class="vote_input" name="vote_content" placeholder="투표 내용을 입력하세요." value="${item['v_content']!}" style="border: 1px solid #ccd0d4;width:90%">
|
|
|
|
|
<span> </span><a onclick="fncRemove(this);"><img src="${URL_ROOT}/m/img/close_ico.png" style="height: 20px; width: 20px;"></a>
|
|
|
|
|
</div>
|
|
|
|
|
</#list>
|
|
|
|
@ -424,7 +424,7 @@
|
|
|
|
|
$('.vote_add').on('click', function () {
|
|
|
|
|
$(".vote_list").append(
|
|
|
|
|
"<div id=\"array_tag\" class=\"control-label text-left\" style=\"padding-left:260px;\" >" +
|
|
|
|
|
"<input class='vote_input' name='vote_content' placeholder='투표 내용을 입력하세요.' class=\"form-control\" style=\"width:90%\" >" +
|
|
|
|
|
"<input class='vote_input' name='vote_content' placeholder='투표 내용을 입력하세요.' style=\"border: 1px solid #ccd0d4;width:90%\" >" +
|
|
|
|
|
"<span> </span><a onclick=\"fncRemove(this);\"><img src=\"${URL_ROOT}/m/img/close_ico.png\" style=\"height: 20px; width: 20px;\"></a>" +
|
|
|
|
|
"</div>"
|
|
|
|
|
);
|
|
|
|
|