问题标签 [laravel-blade]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
916 浏览

php - 如何在 laravel 安装的刀片模板中打破一条线

我无法在 laravel 框架上的 Blade 模板中断线。请帮我在一行中打印每个元素。代码如下

0 投票
2 回答
2626 浏览

forms - 按钮在 Laravel 5.1 中打开一个新的 Blade 页面

我只看到了如何打开带有链接的 Blade 页面,如何使用按钮来做同样的事情?

0 投票
1 回答
504 浏览

laravel - Laravel 请求 URI 不起作用

我有以下路线组:

在我的布局文件中,我有以下条件:

当我导航到它时,www.examplesite.com/admin/它没有显示在管理头文件中?

0 投票
1 回答
3378 浏览

html - 如何在 laravel flash 消息中包含 html 标签?

有没有办法在 Flash 消息中包含 html 标签。我有以下内容,但标签在刀片中渲染时会被转义?

0 投票
2 回答
242 浏览

laravel-5.1 - 语法错误,意外的“!” 在 laravel 5.1 和类 HTML 中找不到

我正在尝试在刀片模板 5.1 中使用 Html:: 类,我已经尝试了所有方法,在出现错误之前,class HTML not found但是当我{{ !! HTML:: !!}}在 html 之前使用时,错误现在FatalErrorException in 75e2b4fe5a49ad69bec8641db04b4b16 line 10: syntax error, unexpected '!'指导我请这里是代码

我已经使用了 composer update 命令或 composer requireIllumination/html 所有这些东西

0 投票
1 回答
147 浏览

laravel - 如何在 laravel 5.1 中的 Html:: 类中使用刀片 Html:: 类

我正在尝试显示图像而不是单词“返回”以转到上一页我该怎么做?

0 投票
1 回答
428 浏览

php - 为什么我的刀片有未定义的变量 - Laravel 4.2

这是我的routes.php

在我的刀片上是这个

在此处输入图像描述

然后在我HomeController.php的错误所属的地方

我得到了这样的错误

Undefined variable: fuck (View: C:\Program Files (x86)\Ampps\www\tridg\local\app\views\auth\login.blade.php)

我不知道我错在哪里,我很自信这是正确的。

编辑1:

我什至试过这个

0 投票
2 回答
264 浏览

php - getting outside of a loop in laravel 5 blade?

This seems simple yet I'm struggling with this. I'd like to get all these data {TotalRaces} separated by a comma for a Sparkline graph, however the leading or trailing comma will either cause a value of 0 at the beginning or the end of the sparkline (for an example). Any thoughts of how to remove the first, or last, comma? I need them in between the variables but not a the beginning or end.

Appreciate any help. Thanks!!

OR

0 投票
2 回答
39 浏览

mysql - 使用 Laravel 5.1 分页从 MySQL Db 中提取记录

在此处输入图像描述有人请帮助我!如何使用分页呈现数据库的记录?当我尝试根据我正在使用的教程使用此代码时,我在下面收到此错误。我认为结果是 Paginate 类中的一种方法。

0 投票
1 回答
1230 浏览

php - Laravel 5.1刀片模板不起作用

我的刀片模板无法在我的 laravel 5 上运行,我刚刚安装了 laravel 5.1,然后当我输入 @yield() 或 @extends() 之类的代码时,文本没有颜色,它只是像一些常规文本一样纯白色,我我做错了吗?