Ok so here is my code
@if(some logic)
....@extends('template.master')
....@section('title')
....title
... @stop
.... @section('content')
....content
.....@stop
@else('second Logic)
....
....@extends('template2.master')
....@section('title')
....title2
... @stop
.... @section('content')
....content2
.....@stop
Well if 1condition is true then 1st template will load if other is true then 2nd template will load. it is possible with @if conditions in blade?
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community