mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-16 21:34:25 +03:00
29 lines
652 B
Smarty
29 lines
652 B
Smarty
{**
|
|
* Создание опроса
|
|
*
|
|
* @styles css/modals.css
|
|
*}
|
|
|
|
{extends 'components/modal/modal.tpl'}
|
|
|
|
{block 'modal_id'}modal-poll-create{/block}
|
|
{block 'modal_class'}modal-poll-create js-modal-default{/block}
|
|
{block 'modal_title'}
|
|
{if $oPoll}
|
|
{$aLang.poll.form.title.edit}
|
|
{else}
|
|
{$aLang.poll.form.title.add}
|
|
{/if}
|
|
{/block}
|
|
|
|
{block 'modal_content'}
|
|
{include 'components/poll/poll.form.tpl'}
|
|
{/block}
|
|
|
|
{block 'modal_footer_begin'}
|
|
{include 'components/button/button.tpl'
|
|
form = 'js-poll-form'
|
|
text = ($oPoll) ? $aLang.common.save : $aLang.common.add
|
|
classes = 'js-poll-form-submit'
|
|
mods = 'primary'}
|
|
{/block} |