Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Profile blade
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row justify-content-center">
<div class="col-md-8">
<div class="card">
<div class="card-header">{{ __('Dashboard') }}</div>
<div class="card-body">
{{-- Echo the profession of the user --}}
Profession: {{ $user->profile->profession }}
</div>
</div>
</div>
</div>
</div>
@endsection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment