@if ($emps->count())
diff --git a/resources/views/education.blade.php b/resources/views/education.blade.php
index 6a0c0ff..e7e0a0c 100644
--- a/resources/views/education.blade.php
+++ b/resources/views/education.blade.php
@@ -74,7 +74,7 @@
-
Показано 1 – @if($count_edu < 6) {{ $count_edu }}@else 6 @endif из {{ $count_edu }} результатов поиска
+
Показано {{ $educations->firstItem() }} – {{ $educations->lastItem() }} из {{ $count_edu }} результатов поиска
-
@if ($educations->count())
@foreach($educations as $edu)
diff --git a/resources/views/employers/add_vacancy.blade.php b/resources/views/employers/add_vacancy.blade.php
index 21df358..03d74c3 100644
--- a/resources/views/employers/add_vacancy.blade.php
+++ b/resources/views/employers/add_vacancy.blade.php
@@ -1,6 +1,34 @@
@extends('layout.frontend', ['title' => 'Добавление вакансии РекаМоре'])
@section('scripts')
+
@endsection
@section('content')
@@ -44,6 +72,25 @@
@enderror
+
+
+
@else
diff --git a/resources/views/employers/edit_vacancy.blade.php b/resources/views/employers/edit_vacancy.blade.php
index 887d4fb..04a14bd 100644
--- a/resources/views/employers/edit_vacancy.blade.php
+++ b/resources/views/employers/edit_vacancy.blade.php
@@ -1,7 +1,34 @@
@extends('layout.frontend', ['title' => 'Редактирование вакансии РекаМоре'])
@section('scripts')
+
@endsection
@section('content')
+
+
+
+
@else
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 64f18fb..e6df7b3 100644
--- a/resources/views/layout/frontend.blade.php
+++ b/resources/views/layout/frontend.blade.php
@@ -278,7 +278,7 @@
-
+