1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-07-08 09:24:25 +03:00
ifhub.club/application/frontend/skin/developer/modals/modal.poll_create.tpl

29 lines
671 B
Smarty

{**
* Создание опроса
*
* @styles css/modals.css
*}
{extends 'components/modal/modal.tpl'}
{block name='modal_id'}modal-poll-create{/block}
{block name='modal_class'}modal-poll-create js-modal-default{/block}
{block name='modal_title'}
{if $oPoll}
{$aLang.poll.form.title.edit}
{else}
{$aLang.poll.form.title.add}
{/if}
{/block}
{block name='modal_content'}
{include 'polls/poll.form.tpl'}
{/block}
{block name='modal_footer_begin'}
{include 'components/button/button.tpl'
sForm = '#js-poll-form'
sText = ($oPoll) ? $aLang.common.save : $aLang.common.add
sClasses = 'js-poll-form-submit'
sMods = 'primary'}
{/block}