Questions tagged as 'laravel-blade'

1
answer

Pass information between two PHP pages

Good afternoon! I'm having the following problem: I have a php page named locality that has the fields "name" and "city". In the name field, I type the name of the locality, such as "Beautiful Corner", and in the city field I retrieve from a t...
asked by 23.10.2017 / 19:12
2
answers

Working with scripts and style sheets in Laravel 5.1

I'm new to Laravel 5.1 (actually Laravel) and I'm having a hard time understanding how to work with style sheets and simple scripts. On several sites, I see that I need to add an element in my composer.json which is "laravelcollective/html"...
asked by 01.12.2015 / 17:09
3
answers

Help with Asset (Laravel Blade)

Alright? I'm working on a project with the Laravel framework. In my project I can call a js file, but it does not work. <script src="{{asset('js/formCurriculo.js')}}" type="text/javascript" async="true" defer></script> Whil...
asked by 10.01.2018 / 19:46
1
answer

How to escape a key / keys in Blade?

In Blade, the key characters (or key) are intended to add the purpose of printing the content. It is complicated for echo . But I was wondering if I really needed to display content, containing the exact value of the keys, what could I...
asked by 28.06.2016 / 16:41
1
answer

Redirect failure Laravel

Expensive, Can you help me with this laravel redirect? I created a method where it re-evaluates the data and redirects, on the other hand at the time of redirect I get the error Route [climate.consensus.visual.ID] not defined, only that I def...
asked by 11.09.2018 / 19:35
1
answer

Route and form in Laravel

I have a route Route::get('/','WebController@index'); I have a controller public function index() { $cars = Cars::table('cars')->get(); return view('web::index')->with('cars', $cars); } And in form it passes the fo...
asked by 08.12.2017 / 16:12
1
answer

CodeIgniter with Blade?

I'm starting to study CI and how I used a little Laravel to facilitate I was trying to put Blade , I followed this tutorial . I followed the tutorial, but it returns those errors :    How to solve these problems?...
asked by 18.07.2017 / 03:08
2
answers

Is there any declaration declaration tag in Laravel Blade (instead of just printing)?

I was wondering if there is any way to create expressions with Blade tags from Laravel . I mean, in the same way that we use {{ $valor }} to be able to print something, would it be possible to use blade syntax to declare something i...
asked by 26.02.2016 / 12:14
1
answer

how do I mount a select with two fields using colletivehtml in laravel 5.5?

Good afternoon. I use laravel 5.5 and for forms I use laravelcollective. I mount a select this way: $locals = Local::get()->pluck('codigolocal', 'id'); and the result is a select with value = id and description equal to the...
asked by 06.12.2018 / 15:37
1
answer

Add fields dynamically in form in Laravel

I have a business registration form, within this register, the company can have 'n' certificates. These certificates should be added to the form as needed. How can I do this in Laravel? I have tried with Jquery (transforming the fields int...
asked by 29.08.2018 / 17:45