<#include "/jeecms_sys/head.html"/>
<@s.m "global.position"/>: <@s.m "cmsVoteTopic.function"/> - <@s.m "global.edit"/>
" onclick="this.form.action='v_list.do';"/>
<@p.form id="jvForm" action="o_update.do"> <@p.text label="cmsVoteTopic.title" name="title" value=cmsVoteTopic.title required="true" class="required" style="width:400px" maxlength="255"/> <@p.textarea label="cmsVoteTopic.description" name="description" value=cmsVoteTopic.description rows="3" style="width:400px" maxlength="255"/> <@p.td label="cmsVoteTopic.time">

<@s.m "cmsVoteTopic.startTime"/> |  | <@s.m "cmsVoteTopic.time.help"/>
<@s.m "cmsVoteTopic.endTime"/> |

<@p.tr/> <@p.text label="cmsVoteTopic.repeateHour" name="repeateHour" value=cmsVoteTopic.repeateHour class="digits" maxlength="10" help="cmsVoteTopic.repeateHour.help"/> <@p.radio label="cmsVoteTopic.restrictMember" name="restrictMember" value=cmsVoteTopic.restrictMember list={"true":"global.true","false":"global.false"} help="cmsVoteTopic.restrictMember.help"/> <@p.radio label="cmsVoteTopic.restrictIp" name="restrictIp" value=cmsVoteTopic.restrictIp list={"true":"global.true","false":"global.false"}/> <@p.radio label="cmsVoteTopic.restrictCookie" name="restrictCookie" value=cmsVoteTopic.restrictCookie list={"true":"global.true","false":"global.false"} help="cmsVoteTopic.restrictCookie.help"/> <@p.td label="cmsVoteTopic.multiSelect" required="true"> checked="checked"/><@s.m "cmsVoteTopic.def"/> checked="checked"/><@s.m "cmsVoteTopic.disabled"/> <@p.tr/> <@p.td>
<@s.m "cmsVoteTopic.items"/> " onclick="addLines();"/>
<#list cmsVoteTopic.items as item>
<@s.m "cmsVoteItem.title"/>: <@s.m "cmsVoteItem.voteCount"/>: <@s.m "cmsVoteItem.priority"/>: " onclick="$(this).parent().remove();"/>
<@p.tr/> <@p.td><@p.hidden name="id" value=cmsVoteTopic.id/><@p.submit code="global.submit"/> <@p.reset code="global.reset"/>
<div class="items"> <@s.m "cmsVoteItem.title"/>: <input type="text" name="itemTitle" style="width:300px"/> <@s.m "cmsVoteItem.voteCount"/>: <input type="text" name="itemVoteCount" value="0" style="width:50px"/> <@s.m "cmsVoteItem.priority"/>: <input type="text" name="itemPriority" value="{0}" style="width:30px"/> <input class="del-button" type="button" value="<@s.m "global.delete"/>" onclick="$(this).parent().remove();"/> <input type="hidden" name="itemId" value=""/> </div>