<form $FormAttributes class="contact-form">

    <% if Message %>
    <p id="{$FormName}_error" class="message $MessageType">$Message</p>
    <% else %>
    <p id="{$FormName}_error" class="message $MessageType" style="display: none"></p>
    <% end_if %>

    <!-- Error pranesimus gauname: $dataFieldByName(Email).Message -->

    <ul class="form">
        <li>
            <label for="{$FormName}_Company"><% _t('LangEditor.CONTACTFORM_COMPANY', 'Company:') %></label>
            $dataFieldByName(Company)
            <div id="errorcompany" class="errormessage">$dataFieldByName(Company).Message</div>
        </li>
        <li>
            <label for="{$FormName}_Name"><% _t('LangEditor.CONTACTFORM_NAME', 'Name:') %></label>
            $dataFieldByName(Name)
            <div id="errorname" class="errormessage">$dataFieldByName(Name).Message</div>
        </li>
        <li>
            <label for="{$FormName}_Email"><% _t('LangEditor.CONTACTFORM_EMAIL', 'E-mail:') %></label>
            $dataFieldByName(Email)
            <div id="erroremail" class="errormessage">$dataFieldByName(Email).Message</div>
        </li>
        <li>
            <label for="{$FormName}_Phone"><% _t('LangEditor.CONTACTFORM_PHONE', 'Telephone:') %></label>
            $dataFieldByName(Phone)
        </li>
        <li>
            <label for="{$FormName}_Comments"><% _t('LangEditor.CONTACTFORM_COMMENT', 'Your question:') %></label>
            $dataFieldByName(Comments)
            <div id="errorcomments" class="errormessage">$dataFieldByName(Comments).Message</div>
        </li>
        <li>
            <label for="{$FormName}_SecurityCode"><% _t('LangEditor.CONTACTFORM_SECURITYCODE', 'Security code:') %></label>
            $dataFieldByName(SecurityCode)
            <div id="security-code"><img src="{$baseURL}captcha.php" /></div>
            <div id="errorsecuritycode" class="errormessage">$dataFieldByName(SecurityCode).Message</div>
        </li>
        <% if Actions %>
        <li class="last">
            <input class="action " id="ContactForm_ContactForm_action_SendContactForm" type="submit" name="action_SendContactForm" value="<% _t('LangEditor.CONTACTFORM_SEND',  'Siųsti') %>" title="<% _t('LangEditor.CONTACTFORM_SEND',  'Siųsti') %>" onclick="ga('send', 'event', 'ContactForm', 'Button', 'SendContactForm');">
            <%-- control Actions %>$Field<% end_control --%>
            <!--<span id="errorbox" class="txt"><% _t('LangEditor.CONTACTFORM_ERROR', 'Klaida. Neužpildėte visų laukelių.') %></span>-->
        </li>
        <% end_if %>
    </ul>

    $dataFieldByName(SecurityID)

</form>

