Questions tagged as 'laravel-blade'

1
answer

Laravel 5.4 and Dompdf - problems?

I'm trying to generate a PDF from a view , and it's working fine, however, when I call the route to call controller , the loading stays for several seconds, until minutes to generate the PDF, and download, not to mention that you are...
asked by 15.07.2017 / 15:21
2
answers

How to pass a variable to a blade?

I have the following scenario: Some types of users may have access to the site, say USERTYP1, USERTYP2 or USERTYP3. The menu of my application changes according to the type of user. I have a master template homeMaster.blade.php and...
asked by 20.07.2016 / 20:48
1
answer

Send variable to layout in laravel4 with blade

I'm having a problem here, I need to send a variable to my layout, so I tried: No controller $this->layout->page = 'Atendentes'; and in the layout this @yield('page') The problem is that I need to compare this page variable wi...
asked by 11.04.2014 / 20:04
2
answers

Popular select with result plus a null element

I have a method that invokes the view as follows: return view('auth.register',[ 'teachers' => $this->user->mentors()->lists('name','id'), ]); And in the view, select using {{ Form::select() }} occurs perfectly....
asked by 23.05.2016 / 20:49
1
answer

Laravel - Popular a list with files in a directory

I would like to populate a list on a Blade page, in the Laravel Framework. I tried <select id="idSelMinhaLista"> @if(isset($arrayRemessa)) @for($i=0;$i < count($arrayRemessa);$i++) <option>{{$arrayRemessa...
asked by 14.11.2017 / 13:09
1
answer

LARAVEL 5.3 template Blade is not updating page

Good morning. I'm a beginner in the PHP Laravel framework and I have the following difficulty: I write my html inside my .blade.php file and call it in a view on Route but the information I've updated in the code is not appearing in the br...
asked by 14.09.2016 / 16:23