1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-06-17 07:10:48 +03:00
ifhub.club/application/frontend/components/user/user-field-choose.tpl
2017-02-06 10:56:36 +07:00

27 lines
851 B
Smarty
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{**
* Выбор пользователей
*
* @param string $lang_choose
*}
{$component = 'user-field-choose'}
{component_define_params params=[ 'name', 'label', 'lang_choose', 'mods', 'classes', 'attributes' ]}
{$label = $label|default:{lang 'user.choose.label'}}
{$lang_choose = $lang_choose|default:{lang 'user.choose.choose'}}
{* Ссылка показывающая мод. окно со списком пользователей *}
{capture 'user_field_choose'}
<a href="#" class="ls-link-dotted js-{$component}-button">
{$lang_choose}
</a>
{/capture}
{component 'field.autocomplete'
label = $label
name = $name
inputClasses = 'js-user-field-choose-users'
isMultiple = true
placeholder = " "
note = $smarty.capture.user_field_choose
params = $params}