mirror of
https://github.com/10h30/Test-Laravel-Blade-Basics.git
synced 2026-06-05 15:07:44 +09:00
Complete task 7
This commit is contained in:
@@ -21,6 +21,8 @@
|
||||
<tr class="bg-red-100">
|
||||
{{-- Task: include file resources/views/includes/row.blade.php --}}
|
||||
{{-- passing the $user variable to it --}}
|
||||
@include('includes.rowm', ['user' => $user])
|
||||
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<meta name="csrf-token" content="{{ csrf_token() }}">
|
||||
|
||||
{{-- Task: edit one file to pass $metaTitle as "Blade Test" to all views --}}
|
||||
<title>{{ $metaTitle ?? 'Laravel' }}</title>
|
||||
<title>{{ $metaTitle ?? 'Blade Test' }}</title>
|
||||
|
||||
<!-- Fonts -->
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700&display=swap">
|
||||
|
||||
Reference in New Issue
Block a user