Enctype for theme html helper

This commit is contained in:
Diego Najar 2018-03-19 20:02:41 +01:00
parent 80f50b927b
commit 4362d6add9
1 changed files with 3 additions and 2 deletions

View File

@ -44,8 +44,9 @@ class HTML {
{
$class = empty($args['class']) ? '' : ' '.$args['class'];
$id = empty($args['id']) ? '' : ' id="'.$args['id'].'" ';
$enctype = empty($args['enctype']) ? '' : ' enctype="'.$args['enctype'].'" ';
$html = '<form class="uk-form'.$class.'" '.$id.' method="post" action="" autocomplete="off">';
$html = '<form class="uk-form'.$class.'" '.$enctype.$id.' method="post" action="" autocomplete="off">';
echo $html;
}