Hello,
First time Laravel install - went great. Then installed https://github.com/rydurham/Sentinel and that went great too.
I copied the package's layouts/default.blade.php to my own views/layouts/default.blade.php.
Then copied one of the package's views for my home page, took out the stuff in the body I didn't want so my home.php page contains this:
@extends(Config::get('Sentinel::config.layout'))
{{-- Web site Title --}}
@section('title')
Home
@stop
{{-- Content --}}
@section('content')
<h4>Home</h4>
<div class="row">
<div class="col-md-10 col-md-offset-1">
Hello
</div>
</div>
@stop
and the output of the page in my browser is this:
@extends(Config::get('Sentinel::config.layout')) {{-- Web site Title --}} @section('title') Home @stop {{-- Content --}} @section('content')
Home
Hello
@stop
The login page, and register page and all those work fine. Just not this portion I'm trying to copy.
What am I doing wrong or missing?
Thank you!
You said its home.php should be home.blade.php
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community