Questions tagged as 'laravel-blade'

2
answers

I can not use foreach with object twice in the same view in laravel

I have a big problem that I can not solve because I am still a beginner in Laravel. The problem is that I'm developing a web application and I need to list the cities object in two different select, however when I add the second foreach it gives...
asked by 26.10.2017 / 20:07
1
answer

Advanced search in Laravel 5

I'm starting at Laravel 5 and as learning I'm creating a simple employee's register. What I need is to retrieve from the bank an employee relationship with surveys based on search conditions. In the example below, I used When to...
asked by 24.06.2017 / 13:47
1
answer

How to pass data searched by a view back to the view itself

I need to search a database through a view (Laravel Blade). The data obtained, stored in an array, need to display on the page itself called the database. I'm not getting the array return with such data, because I do not know how to handle the a...
asked by 13.05.2016 / 16:21
1
answer

I can not get into the foreach of a blade in laravel 5.7

I have a small problem that I still can not figure out how to solve, I have a View and I can not get into foreach of this same, follow View : <div class="form-group"> {!! csrf_field() !!} <!--{{ dd...
asked by 19.12.2018 / 18:29
1
answer

Form Value does not return in Collective laravel

The form in the edit part does not display the value coming from the database. All other form fields are returning the value I get in the database. Here's how I'm doing: <div class="col-md-3"> {!! Form::label('departamento','Depart...
asked by 18.08.2017 / 23:33
3
answers

How to get a variable that is in the controller and put inside a view (laravel)

I'm playing with laravel and then came the following doubt. I need to get a variable that is in the controller and put it inside a view. In case I am sending an email with data contained in a form. Basically this is how the user types the inf...
asked by 17.02.2017 / 19:45
1
answer

CSS Blade Laravel

I'm starting now with Laravel 5.1, I was left with a question regarding blade. For example, I want to pass several CSS or JS files from the page in question using Blade notation. My main file looks like this: <html> <head> &...
asked by 08.07.2015 / 04:33
0
answers

Create Groups and Group Items Within

I have the following problem, I have a table with items and I need to create groups and name each item to its due group. I already distribute them by categories, which in the case I call 'families', however I need now to group them respectively...
asked by 07.11.2018 / 12:59
1
answer

What convention do you use to organize Laravel Views?

I would like to know how best to organize Views in Laravel, in which directory it is best to leave the includes, templates and main views. Also what is better to put in the (navbar? layouts? sidebar?) what I can put as a template? I'm learnin...
asked by 14.05.2018 / 20:49
2
answers

How to pass parameters to the direct resource controller of View with Helper url ()

I have the following route in my Laravel application (v5.5): Route::resource('tags', 'Painel\TagsController'); As official documentation , this gives me a route with action edit, verb GET and URI (/ photos / {photo} / edit). In my View I n...
asked by 21.09.2017 / 01:32