1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-07-17 13:54:26 +03:00
ifhub.club/application/frontend/skin/developer/components/poll/poll.manage.tpl
2014-06-23 19:51:40 +07:00

26 lines
835 B
Smarty

{**
* Управления опросами (добавление/удаление/редактирование)
*
* @param string $sTargetId
* @param string $sTargetType
*
* @styles poll.css
* @scripts <common>/js/poll.js
*}
<div class="fieldset poll-manage js-poll-manage" data-type="{$sTargetType}" data-target-id="{$sTargetId}">
<header class="fieldset-header">
<h3 class="fieldset-title">{$aLang.poll.polls}</h3>
</header>
<div class="fieldset-body">
{* Кнопка добавить *}
{include 'components/button/button.tpl' sText=$aLang.common.add sType='button' sClasses='poll-manage-add js-poll-manage-add'}
{* Список добавленных опросов *}
{insert name="block" block="pollFormItems" params=[
'target_type' => $sTargetType,
'target_id' => $sTargetId
]}
</div>
</div>