<div class="card mb15">
  <div class="card-header">
      {title} 
  </div>
  <div class="card-body">
   <div id="votes" class="block">
	<!--<div class="vote_more"><a href="#" onclick="ShowAllVotes(); return false;">Другие опросы...</a></div>-->
	[votelist]
	<form method="post" name="vote">
	[/votelist]
		<div class="vote_list">
			{list}
		</div>
	[voteresult]
		<div class="vote_votes grey">Проголосовало: {votes}</div>
	[/voteresult]
	[votelist]
		<input type="hidden" name="vote_action" value="vote">
		<input type="hidden" name="vote_id" id="vote_id" value="{vote_id}">
        <br>
        <div class="row my">
        <div class="col-md-6 my">
            <button title="Голосовать" class="btn btn-outline-dark btn-block btn-sm" type="submit" onclick="doVote('vote'); return false;" >Голосовать</button>
        </div>
        <div class="col-md-6 my">
            <button title="Результаты опроса" class="btn btn-outline-dark btn-block btn-sm" type="button" onclick="doVote('results'); return false;" >Результаты</button>
        </div>
        </div>
	</form>
	[/votelist]
  </div>
</div>