diff --git a/resources/views/favorite_people.blade.php b/resources/views/favorite_people.blade.php
new file mode 100644
index 0000000..8b50701
--- /dev/null
+++ b/resources/views/favorite_people.blade.php
@@ -0,0 +1,3 @@
+@foreach ($favorite_people as $it)
+
+@endforeach
diff --git a/resources/views/index.blade.php b/resources/views/index.blade.php
index 0cb1ec6..2729c2d 100644
--- a/resources/views/index.blade.php
+++ b/resources/views/index.blade.php
@@ -103,10 +103,8 @@
Скрыть
-->
-
@foreach ($BigFlot as $key => $flot)
-
@include('block_real', ['flot' => $flot, 'position' => $Position[$key]])
@endforeach
diff --git a/resources/views/js/modals.blade.php b/resources/views/js/modals.blade.php
index 27bf5bc..0bf313e 100644
--- a/resources/views/js/modals.blade.php
+++ b/resources/views/js/modals.blade.php
@@ -41,7 +41,7 @@
var field_login = $('#email_worker');
var field_pwd = $('#password_worker');
var field_confirm_pwd = $('#password_confirmation_worker');
- var field_politik_worker = $('#politik_worker');
+ var field_politik_worker = $('#politik');
var field_telephone_worker = $('#telephone_worker');
var field_job_titles_worker = $('#job_titles_worker');
var field_surname_worker = $('#surname_worker');
@@ -59,6 +59,14 @@
var surname2 = field_surname2_worker.val();
+ if (field_politik_worker.attr('checked')) {
+ console.log('politik=1');
+ politik = 1;
+ } else {
+ politik = 0;
+ console.log('politik=0');
+ }
+
console.log('login: '+login+' password: '+pwd);
$.ajax({
@@ -118,7 +126,13 @@
console.log('login: '+login+' password: '+pwd);
-
+ if (field_politik_employer.attr('checked')) {
+ console.log('politik=1');
+ politik = 1;
+ } else {
+ politik = 0;
+ console.log('politik=0');
+ }
$.ajax({
type: "GET",
url: "{{ route('register_employer') }}",
@@ -138,7 +152,6 @@
$('#messages_error_reg').html(d['ERROR']);
}
console.log(d['REDIRECT']);
-
},
headers: {
'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
diff --git a/resources/views/layout/frontend.blade.php b/resources/views/layout/frontend.blade.php
index 6706259..7045ca1 100644
--- a/resources/views/layout/frontend.blade.php
+++ b/resources/views/layout/frontend.blade.php
@@ -277,7 +277,7 @@
-
+