Так я написал следующий маршрут:Почему мой laravel 5 рендеринга html как строка вместо dom?
Route::get('/login', function() {
return View::make('login.form');
});
Это мнение:
@extends('layouts.master')
@section('content')
<div class="form-section">
{{ Form::open(
array(
'url' => 'login-submit',
'method' => 'POST'
)
)
}}
{{ Form::submit('Authorize With AisisPlatform') }}
{{ Form::close() }}
@stop
Это именно то, что я вижу, когда я смотрю на странице:
<form method="POST" action="http://app-response.tracking/login-submit" accept-charset="UTF-8"><input name="_token" type="hidden" value="7xHzX20h1RZBnkTP2CRraZVsAfSQIfVP61mBiFtN"> <input type="submit" value="Authorize With AisisPlatform"> </form>
Um ..... Должна ли форма быть хорошей ... и реальной формой? Почему он отображал html как строку ? Как мне сделать визуальную кнопку отправки формы?
возможно дубликат [Laravel 5: Отображение HTML с отвалом] (http://stackoverflow.com/questions/29253979/laravel-5-display-html-with-blade) –