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/components/report/modal.report.tpl
2014-11-12 20:36:53 +07:00

40 lines
1.1 KiB
Smarty

{**
* Жалоба на пользователя
*
* @param array $types
*}
{extends 'components/modal/modal.tpl'}
{block 'modal_id'}modal-complaint-user{/block}
{block 'modal_class'}modal-complaint-user js-modal-default{/block}
{block 'modal_title'}{lang 'report.form.title'}{/block}
{block 'modal_content'}
<form action="" method="post" id="form-complaint-user">
{include 'components/field/field.select.tpl'
name = 'type'
label = {lang 'report.form.fields.type.label'}
classes = 'width-full'
items = $smarty.local.types}
{include 'components/field/field.textarea.tpl'
name = 'text'
rows = 5
label = {lang 'report.form.fields.text.label'}
classes = 'width-full'}
{* Каптча *}
{if Config::Get('module.user.complaint_captcha')}
{include 'components/field/field.captcha.tpl'
captchaName = 'complaint_user'
name = 'captcha'}
{/if}
{include 'components/field/field.hidden.tpl' name='target_id' value=$_aRequest.target_id}
</form>
{/block}
{block 'modal_footer_begin'}
{include 'components/button/button.tpl' text={lang 'report.form.submit'} mods='primary' form='form-complaint-user'}
{/block}