Источник шаблона: website/elements/li-callback.html

{% load staticfiles %} <li class="telephone"> <div class="wrap"> <a href="/callback/" class="icon callBack"></a> <div class="nf"> <span class="heading"><a href="{{ website_settings.get_phone1_url }}" style="text-decoration: none; color:#555555">{{ website_settings.phone1 }}</a></span> <a href="#" class="openWebFormModal link callBack" data-id="1">Заказать звонок</a> <div class="webformModal" id="webFormDwModal_1"> <div class="webformModalHideScrollBar"> <div class="webformModalcn100"> <div class="webformModalContainer"> <div class="webFormDwModal" data-id="1"> <form name="DW_CALLBACK_FORM" action="/" method="POST" enctype="multipart/form-data"> {% csrf_token %} <input type="hidden" name="WEB_FORM_ID" value="1" /> <div class="webFormModalHeading">Заказать звонок<a href="#" class="webFormModalHeadingExit"></a></div> <p class="webFormDescription">Ваше сообщение</p> <div class="webFormItems"> <div class="webFormItem" id="WEB_FORM_ITEM_TELEPHONE"> <div class="webFormItemCaption"> <img src="{% static 'website/img/call.png' %}" class="webFormItemImage" alt="Ваш телефон"> <div class="webFormItemLabel">Ваш телефон<span class="webFormItemRequired">*</span></div> </div> <div class="webFormItemError"></div> <div class="webFormItemField" data-required="Y"> <input type="text" class="inputtext" name="form_text_1" value="" size="40" /> </div> </div> <div class="webFormItem" id="WEB_FORM_ITEM_NAME"> <div class="webFormItemCaption"> <img src="{% static 'website/img/user.png' %}" class="webFormItemImage" alt="Ваше имя"> <div class="webFormItemLabel">Ваше имя</div> </div> <div class="webFormItemError"></div> <div class="webFormItemField"> <input type="text" class="inputtext" name="form_text_2" value="" size="40" /> </div> </div> </div> <div class="webFormError"></div> <div class="webFormTools"> <div class="tb"> <div class="tc"> <input type="submit" name="web_form_submit" value="Отправить" class="sendWebFormDw" /> <input type="hidden" name="web_form_apply" value="Y" /> </div> <div class="tc"><input type="reset" value="Сбросить" /></div> </div> <p><span class="form-required starrequired">*</span> - обязательные поля</p> </div> </form> </div> </div> </div> </div> </div> <div class="webFormMessage" id="webFormMessage_1"> <div class="webFormMessageContainer"> <div class="webFormMessageMiddle"> <div class="webFormMessageHeading">Сообщение отправлено</div> <div class="webFormMessageDescription">Ваше сообщение успешно отправлено. В ближайшее время с Вами свяжется наш специалист</div> <a href="#" class="webFormMessageExit">Закрыть окно</a> </div> </div> </div> <script type="text/javascript"> var webFormAjaxDir = "{% url 'website.callback' %}"; var webFormSiteId = "sp"; </script> </div> </div> </li>