A
A
Arkady Baganin2018-10-27 21:38:20
Template Engines
Arkady Baganin, 2018-10-27 21:38:20

An error occurred while converting the expression by the Blade templating engine. Why?

Good day!
Ran into this problem today when I use the Blade templating method: "Parse error: syntax error, unexpected '<' (View: Z:\home\blch.loc\www\resources\views\index.blade.php)"
Here the code:

<!DOCTYPE html>
<html lang="{{ app()->getLocale() }}">
    <head>
        {{ @includeIf('layouts.main.head') }}
    </head>
    <body>
        <main role="main" class="container">
        <!-- Jumbotron -->
        <div class="jumbotron screen text-center blue-grey lighten-5 col-sm-6 col-xl-6 col-lg-6">
        <!-- Title -->
        <h2 class="card-title h2">Cryptor for you</h2>
        <!-- Subtitle -->
        <p class="indigo-text my-4 font-weight-bold">If you want to decrypt app then press on "Sign UP"</p>
        <!-- Grid row -->
        <div class="row d-flex justify-content-center">
        <!-- Grid column -->
        <div class="col-xl-7 pb-2">
            <p class="card-text">If you sign upped in our site then click "Sign In"</p>
        </div>
        <!-- Grid column -->
        </div>
        <!-- Grid row -->
        <hr class="my-4 pb-2">
        <a class="btn blue-gradient btn-rounded" href="{{toRoute('profile')}}">Sign Up</a>
        <a class="btn btn-indigo btn-rounded">Sign In</a>
        </div>
        </main>
        {{ @includeIf('layouts.main.scripts') }}
    </body>
</html>

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question