mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-08 17:34:26 +03:00
10 lines
501 B
Smarty
10 lines
501 B
Smarty
{**
|
|
* Drag & drop загрузка
|
|
*}
|
|
|
|
{$component = 'field-upload-area'}
|
|
|
|
<label class="{$component} {cmods name=$component mods=$smarty.local.mods} {$smarty.local.classes}" {cattr list=$smarty.local.attributes}>
|
|
<span>{$smarty.local.label|default:{lang name='field.upload_area.label'}}</span>
|
|
<input type="file" name="{$smarty.local.inputName|default:'file'}" class="{$smarty.local.inputClasses}" {cattr list=$smarty.local.inputAttributes} {$smarty.local.isMultiple|default:'multiple'}>
|
|
</label> |