|
|
|
@ -1,6 +1,6 @@ |
|
|
|
{% load cms_tags djangocms_forms_tags i18n sekizai_tags staticfiles %} |
|
|
|
{% load cms_tags djangocms_forms_tags i18n sekizai_tags staticfiles %} |
|
|
|
|
|
|
|
|
|
|
|
<div class="consultation" ng-controller="ModalFormCtrl" class="modal-form"> |
|
|
|
<div class="consultation consultation-form" ng-controller="ModalFormCtrl" class="modal-form"> |
|
|
|
<script type="text/ng-template" id="modalFormTemplate-{{ instance.id }}.html"> |
|
|
|
<script type="text/ng-template" id="modalFormTemplate-{{ instance.id }}.html"> |
|
|
|
<div class="modal-body modal-consultation"> |
|
|
|
<div class="modal-body modal-consultation"> |
|
|
|
<img src="{% with 'imgs/phone.png' as image_static %}{% static image_static %}{% endwith %}"> |
|
|
|
<img src="{% with 'imgs/phone.png' as image_static %}{% static image_static %}{% endwith %}"> |
|
|
|
@ -73,7 +73,7 @@ |
|
|
|
$( "[href^='#consultation'" ).click(function(e) { |
|
|
|
$( "[href^='#consultation'" ).click(function(e) { |
|
|
|
event.preventDefault(); |
|
|
|
event.preventDefault(); |
|
|
|
|
|
|
|
|
|
|
|
angular.element($('.consultation')[0]).scope().open({{ instance.id }}); |
|
|
|
angular.element($('.consultation-form')[0]).scope().open({{ instance.id }}); |
|
|
|
yaCounter950321.reachGoal('CallbackOpen'); |
|
|
|
yaCounter950321.reachGoal('CallbackOpen'); |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
|