Laravel Community Tools by Tighten

Tag "templating" tricks

57 tricks
When you need to pass more attributes to a form element using blade syntax.
ramirors 12 years ago 24859
Did you know that Laravel comes with a great amount of helpers to generate HTML in your Blade templates, like UL and OL lists, obfuscating email links, links to javascript and style assets? Check out the code below to see the HTML helpers in action.
msurguy 12 years ago 37362
Usually you would use @section and @stop to pass data to a Blade section. When your data is limited to a short text like page title you could use the second argument of @section to pass that data.
msurguy 12 years ago 7928