Answer the question
In order to leave comments, you need to log in
Blade template not showing in laravel 5?
Goodnight! I am building a small frame, but I hit a dead end. The layout does not want to be displayed.
Here is the main page which is in main/main.blade.php
<!DOCTYPE html>
<html>
<head>
<title>{{ $title }}</title>
<link href="https://fonts.googleapis.com/css?family=Lato:100" rel="stylesheet" type="text/css">
<script src="./media/js/jquery.js"></script>
<script src="./media/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="./media/css/bootstrap.min.css">
<link rel="stylesheet" href="./media/css/style.css">
</head>
<body>
@yield('home')
</body>
</html>
@extends('main.main')
@section('home')
<div class="container">
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
<form>
<div class="form-group">
<label for="exampleInputEmail1">Имя</label>
<input type="email" class="form-control" id="exampleInputEmail1" placeholder="Имя">
</div>
<div class="form-group">
<label for="exampleInputEmail1">Email</label>
<input type="email" class="form-control" id="exampleInputEmail1" placeholder="Email">
</div>
<div class="form-group">
<label for="exampleInputEmail1">Сообщение</label>
<textarea class="form-control" rows="3"></textarea>
</div>
<p>
<button type="button" class="btn btn-primary btn-lg">Отправить</button>
</p>
</form>
</div>
</div>
</div>
@stop
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question