0
I have 2 files:
app.blade.php
<html>
<head>
<title>App Name</title>
</head>
<body>
<div class="container">
@yield('content')
</div>
</body>
php client.blade.
@extends('layouts.app')
@section('content')
<form></form>
<table></table>
<div></div>
@endsection
I wonder if there’s like in the file php client.blade. extend another file?
Example of what I would like to do:
php client.blade.
@extends('layouts.app')
@section('content')
@section('formulario') // Aqui uso section ou yield
<table></table>
<div></div>
@endsection
formulario.blade.php
@extends('cliente')
@section('formulario')
<form></form>
@endsection
I tried that and I didn’t succeed. But I can do it?
– Daniel Chung
gives... I just tested, but your route has to point to formuario.
– Will Knippelberg
Could you show me an example of the route?
– Daniel Chung
edited the answer ai man. qlq thing of a touch
– Will Knippelberg
Thanks friend, clarified my doubt
– Daniel Chung
There is no partner
– Will Knippelberg