Questions tagged as 'laravel-blade'

2
answers

error showing options of a select in laravel and vue js

does not show anything in the option but in the console if I can see the data new Vue({ el: '#aplicacion', data: { departamento:'', municipios:[], }, methods: { greet: function (event) {...
asked by 20.05.2018 / 03:11
1
answer

Does not enter the driver

I have the following route Route::resource('mail', 'MailController'); Which I call in the following form: @extends('layouts.app') @section('content') <div class="content"> <div class="row"> @if (Sessio...
asked by 11.03.2018 / 23:28
1
answer

Define a global variable to be used in several views independent of the controller of each view

I need to declare a globlal variable, something similar to: $user = Auth::user(); I am consuming an API and I need to get the $user variable in the login form in a global way to use it in the whole app. I am not very familiar with th...
asked by 03.08.2017 / 00:49
1
answer

Page jump concatenated in a variable Laravel

I'm developing a project using Laravel. When I try to show the details of an actor on the screen, it shows everything on the same line like this: Is taking the as a text and not as a page break. This is my code portion pu...
asked by 02.10.2018 / 20:28
1
answer

How to pass data from a controller to a module included with @include Laravel Blade?

I am developing a web with Laravel and I need to pass the data that comes from a controller to a module called seciones.blade.php that is in a folder called includes , so that the structure is like this: includes/secciones.blade.p...
asked by 21.06.2018 / 00:08
1
answer

Error in laravel 5.6

I am trying to see the name and the id of the categories of the products and I am generating the following error.    "Trying to get property 'category_id' of non-object (View: C: \ Users \ RaFaE \ blog \ resources \ views \ admin \ article \...
asked by 28.06.2018 / 06:36
2
answers

problem loading 2 select with data in Laravel 5.6.7?

I have a problem filling out two different selections within the same form in laravel 5.6.7. vista: registro.blade.php <div class="form-group"> {{ Form::label('empresa','Empresa:',['class' => 'control-label ']) }...
asked by 08.03.2018 / 21:18
2
answers

Comment line in Laravel 5.1

How can I comment a line in a Laravel template that contains @include , @section , @endsection and even img src"{{ asset('libs/magnific-popup/magnific-popup.js') }}" I tried with <!-- -->...
asked by 10.11.2017 / 14:42
1
answer

How to enter a varibale in a name attribute in a form collective input?

I have a laravel blade form, using the input of the laravel collective form, for example: <div class="form-group col-xs-4"> {!!Form::label('Titulo de modalidad','Titulo de modalidad:')!!} {!!Form::text("cancion5","val...
asked by 20.10.2017 / 05:34
1
answer

Laravel Session Return: Null

I need to pass variable se session to get variables in other views or controllers at the end I get a NULL This is what I am doing: public function login(Request $request){ $client = new Client(); $this->validate($request...
asked by 04.08.2017 / 18:37