<?php

/* Snippets/ProductFields.html */
class __TwigTemplate_5b8317f54526a1ef0e98202f52c4f6f1 extends Twig_Template
{
    public function display(array $context)
    {
        // line 1
        echo "<tr class=\"ConfigField\" id=\"productFieldTR_";
        echo twig_safe_filter((isset($context['ProductFieldKey']) ? $context['ProductFieldKey'] : null));
        echo "\">
\t<td>
\t\t<span style=\"margin-left:10px;\">
\t\t\t";
        // line 4
        echo getLang("ConfigurableField");
        echo " #<span class=\"FieldNumber\">";
        echo twig_safe_filter((isset($context['ProductFieldNumber']) ? $context['ProductFieldNumber'] : null));
        echo "</span>:
\t\t</span>
\t</td>
\t<td>
\t\t<select name=\"productFieldType[";
        // line 8
        echo twig_safe_filter((isset($context['ProductFieldKey']) ? $context['ProductFieldKey'] : null));
        echo "]\" class=\"productFieldType form-control\" onchange=\"ToggleFieldFileType(this.value, ";
        echo twig_safe_filter((isset($context['ProductFieldKey']) ? $context['ProductFieldKey'] : null));
        echo ")\">
\t\t\t<option value=\"text\" ";
        // line 9
        echo twig_safe_filter((isset($context['ProductFieldTypeText']) ? $context['ProductFieldTypeText'] : null));
        echo ">";
        echo getLang("ShortText");
        echo "</option>
\t\t\t<option value=\"textarea\" ";
        // line 10
        echo twig_safe_filter((isset($context['ProductFieldTypeTextarea']) ? $context['ProductFieldTypeTextarea'] : null));
        echo ">";
        echo getLang("Textarea");
        echo "</option>
\t\t\t<option value=\"file\" ";
        // line 11
        echo twig_safe_filter((isset($context['ProductFieldTypeFile']) ? $context['ProductFieldTypeFile'] : null));
        echo ">";
        echo getLang("File");
        echo "</option>
\t\t\t<option value=\"checkbox\" ";
        // line 12
        echo twig_safe_filter((isset($context['ProductFieldTypeCheckbox']) ? $context['ProductFieldTypeCheckbox'] : null));
        echo ">";
        echo getLang("Checkbox");
        echo "</option>
\t\t\t<option value=\"select\" ";
        // line 13
        echo twig_safe_filter((isset($context['ProductFieldTypeSelect']) ? $context['ProductFieldTypeSelect'] : null));
        echo ">";
        echo getLang("SelectBox");
        echo "</option>
\t\t</select>
\t</td>
\t<td>
\t\t<input name=\"productFieldName[";
        // line 17
        echo twig_safe_filter((isset($context['ProductFieldKey']) ? $context['ProductFieldKey'] : null));
        echo "]\" value=\"";
        echo twig_safe_filter((isset($context['ProductFieldName']) ? $context['ProductFieldName'] : null));
        echo "\"  class=\"productFieldName form-control ";
        echo twig_safe_filter((isset($context['FieldNameClass']) ? $context['FieldNameClass'] : null));
        echo "\" onfocus = \"HideFieldHelpText(this);\" onblur = \"ShowFieldHelpText(this, '";
        echo getLang("FieldName");
        echo "');\"/>
\t\t<input name=\"productFieldId[";
        // line 18
        echo twig_safe_filter((isset($context['ProductFieldKey']) ? $context['ProductFieldKey'] : null));
        echo "]\" value=\"";
        echo twig_safe_filter((isset($context['ProductFieldId']) ? $context['ProductFieldId'] : null));
        echo "\"  class=\"productFieldId\" type=\"hidden\" />
\t</td>
\t<td>
\t\t<input class=\"productFieldRequired\" name=\"productFieldRequired[";
        // line 21
        echo twig_safe_filter((isset($context['ProductFieldKey']) ? $context['ProductFieldKey'] : null));
        echo "]\" id=\"productFieldRequired_";
        echo twig_safe_filter((isset($context['ProductFieldKey']) ? $context['ProductFieldKey'] : null));
        echo "\" type=\"checkbox\" style=\"margin-right:15px;\" ";
        echo twig_safe_filter((isset($context['ProductFieldRequired']) ? $context['ProductFieldRequired'] : null));
        echo " /><label for=\"productFieldRequired_";
        echo twig_safe_filter((isset($context['ProductFieldKey']) ? $context['ProductFieldKey'] : null));
        echo "\">";
        echo getLang("Required");
        echo "?</label>
\t</td>
\t<td>
\t\t<div style=\"";
        // line 24
        echo twig_safe_filter((isset($context['HideFieldFileType']) ? $context['HideFieldFileType'] : null));
        echo "\" id=\"FileTypeContainer_";
        echo twig_safe_filter((isset($context['ProductFieldKey']) ? $context['ProductFieldKey'] : null));
        echo "\">
\t\t\t<input name=\"productFieldFileType[";
        // line 25
        echo twig_safe_filter((isset($context['ProductFieldKey']) ? $context['ProductFieldKey'] : null));
        echo "]\" value=\"";
        echo twig_safe_filter((isset($context['ProductFieldFileType']) ? $context['ProductFieldFileType'] : null));
        echo "\" size=\"12\"  class=\"productFieldFileType form-control  ";
        echo twig_safe_filter((isset($context['FileTypeClass']) ? $context['FileTypeClass'] : null));
        echo "\"  onfocus = \"HideFieldHelpText(this);\" onblur = \"ShowFieldHelpText(this, '";
        echo getLang("FieldFileType");
        echo "');\" />

\t\t\t<input name=\"productFieldFileSize[";
        // line 27
        echo twig_safe_filter((isset($context['ProductFieldKey']) ? $context['ProductFieldKey'] : null));
        echo "]\" value=\"";
        echo twig_safe_filter((isset($context['ProductFieldFileSize']) ? $context['ProductFieldFileSize'] : null));
        echo "\" size =\"4\"  class=\"productFieldFileSize form-control ";
        echo twig_safe_filter((isset($context['FileSizeClass']) ? $context['FileSizeClass'] : null));
        echo "\"  onfocus = \"HideFieldHelpText(this);\"   onblur = \"ShowFieldHelpText(this, '";
        echo getLang("FieldFileSize");
        echo "');\" /> KB
\t\t</div>
\t\t<div style=\"";
        // line 29
        echo twig_safe_filter((isset($context['HideFieldSelectOptions']) ? $context['HideFieldSelectOptions'] : null));
        echo "\" id=\"SelectOptionsContainer_";
        echo twig_safe_filter((isset($context['ProductFieldKey']) ? $context['ProductFieldKey'] : null));
        echo "\">
\t\t\t<input name=\"productFieldSelectOptions[";
        // line 30
        echo twig_safe_filter((isset($context['ProductFieldKey']) ? $context['ProductFieldKey'] : null));
        echo "]\" value=\"";
        echo twig_escape_filter($this->env, (isset($context['ProductFieldSelectOptions']) ? $context['ProductFieldSelectOptions'] : null), "1");
        echo "\" class=\"productFieldSelectOptions form-control ";
        echo twig_safe_filter((isset($context['SelectOptionsClass']) ? $context['SelectOptionsClass'] : null));
        echo "\"  onfocus = \"HideFieldHelpText(this);\" onblur = \"ShowFieldHelpText(this, '";
        echo getLang("FieldSelectOptions");
        echo "');\" />
\t\t</div>
\t</td>
\t<td align=\"left\">
\t\t<a href=\"#\" class=\"btn btn-success btn-sm\" onclick=\"return AddProductField(";
        // line 34
        echo twig_safe_filter((isset($context['ProductFieldKey']) ? $context['ProductFieldKey'] : null));
        echo ");\" style=\"border-radius: 50%; padding: 0; width: 20px; height: 20px;\">
\t\t\t<svg viewBox=\"0 0 24 24\" width=\"13\" height=\"13\" stroke=\"currentColor\" stroke-width=\"2\" fill=\"none\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"css-i6dzq1\"><line x1=\"12\" y1=\"5\" x2=\"12\" y2=\"19\"></line><line x1=\"5\" y1=\"12\" x2=\"19\" y2=\"12\"></line></svg>
\t\t</a>
\t\t<a href=\"#\" class=\"btn btn-danger btn-sm\" onclick=\"return DelProductField(";
        // line 37
        echo twig_safe_filter((isset($context['ProductFieldKey']) ? $context['ProductFieldKey'] : null));
        echo ");\" style=\"border-radius: 50%; padding: 0; width: 20px; height: 20px;display: ";
        echo twig_safe_filter((isset($context['HideProductFieldDelete']) ? $context['HideProductFieldDelete'] : null));
        echo ";\">
\t\t\t<svg viewBox=\"0 0 24 24\" width=\"13\" height=\"13\" stroke=\"currentColor\" stroke-width=\"2\" fill=\"none\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"css-i6dzq1\"><line x1=\"5\" y1=\"12\" x2=\"19\" y2=\"12\"></line></svg>
\t\t</a>
\t</td>
</tr>";
    }

}
