Add titles for separate setting pages
MODIFY
resources/views/settings/account.blade.php
resources/views/settings/account.blade.php
@extends('settings.layout')
+@section('settings_title')
+ <h2 class="mb-3">Account</h2>
+@endsection
+
@section('settings_body')
<div class="box">
<div class="box__section">

MODIFY
resources/views/settings/layout.blade.php
resources/views/settings/layout.blade.php
@section('body')
<div class="wrapper my-3">
- <h2 class="mb-3">{{ __('pages.settings') }}</h2>
<div class="row">
<div class="row__column mr-3" style="max-width: 300px;">
<div class="box">
+ <div class="box__section box__section--header">Settings</div>
<ul class="box__section">
<li><a href="/settings/profile"><i class="fas fa-user fa-sm"></i> {{ __('general.profile') }}</a></li>
<li><a href="/settings/account"><i class="fas fa-lock fa-sm"></i> {{ __('general.account') }}</a></li>
</div>
</div>
<div class="row__column">
+ @yield('settings_title')
<form method="POST" action="/settings" enctype="multipart/form-data">
{{ csrf_field() }}
@yield('settings_body')

MODIFY
resources/views/settings/preferences.blade.php
resources/views/settings/preferences.blade.php
@extends('settings.layout')
+@section('settings_title')
+ <h2 class="mb-3">Preferences</h2>
+@endsection
+
@section('settings_body')
<div class="box">
<div class="box__section">

MODIFY
resources/views/settings/profile.blade.php
resources/views/settings/profile.blade.php
@extends('settings.layout')
+@section('settings_title')
+ <h2 class="mb-3">Profile</h2>
+@endsection
+
@section('settings_body')
<div class="box">
<div class="box__section">

MODIFY
resources/views/settings/spaces/index.blade.php
resources/views/settings/spaces/index.blade.php
@extends('settings.layout')
+@section('settings_title')
+ <h2>Spaces</h2>
+ <p class="mt-1 mb-3">Spaces can be used to separate your finances in Budget. For example&mdash;you can have a space for your personal finances and another space for your business' finances.</p>
+@endsection
+
@section('settings_body')
<div class="box">
<ul class="box__section">

Add titles for separate setting pages