
<div class="main-right-box">
<h5>编辑投票</h5>
<div class="blank20"></div>
<div class="box">

<form method="post" name="form1" action="<?php if(front::$act=='edit') $id="/id/".$data[$primary_key]; else $id=''; echo modify("/act/".front::$act."/table/".$table.$id);?>"  onsubmit="return checkform();">
<input type="hidden" name="onlymodify" value=""/>


<div class="col-xs-4 col-sm-4 col-md-3 col-lg-2 text-right">标题</div>
<div class="col-xs-8 col-sm-7 col-md-7 col-lg-5 text-left">
{form::getform('title',$form,$field,$data)}
</div>

<div class="blank30"></div>

<div class="col-xs-4 col-sm-4 col-md-3 col-lg-2 text-right">类型</div>
<div class="col-xs-8 col-sm-7 col-md-7 col-lg-5 text-left">
{form::getform('type',$form,$field,$data)}
</div>

<div class="blank30"></div>


<div class="col-xs-4 col-sm-4 col-md-3 col-lg-2 text-right">查看投票会员组</div>
<div class="col-xs-8 col-sm-7 col-md-7 col-lg-5 text-left">
{form::getform('viewgroupid',$form,$field,$data)}
</div>

<div class="blank30"></div>


<div class="col-xs-4 col-sm-4 col-md-3 col-lg-2 text-right">参与投票会员组</div>
<div class="col-xs-8 col-sm-7 col-md-7 col-lg-5 text-left">
{form::getform('votegroupid',$form,$field,$data)}
</div>

<div class="blank30"></div>


<div class="col-xs-4 col-sm-4 col-md-3 col-lg-2 text-right">查看结果会员组</div>
<div class="col-xs-8 col-sm-7 col-md-7 col-lg-5 text-left">
{form::getform('resgroupid',$form,$field,$data)}
</div>

<div class="blank30"></div>



<div class="col-xs-4 col-sm-4 col-md-3 col-lg-2 text-right">投票截止日期</div>
<div class="col-xs-8 col-sm-7 col-md-7 col-lg-5 text-left">
{form::getform('enddate',$form,$field,$data)}
</div>


<div class="blank30"></div>
<div class="line"></div>
<div class="blank30"></div>
<input type="submit" name="submit" value="提交" class="btn btn-primary">

</form>

<div class="blank30"></div>
</div>
</div>

