Questions tagged as 'laravel-blade'

1
answer

How to include files in a View based on the Route in Laravel?

I created a view inicio.blade.php where I put all the code that repeats on all pages and created other views that extend this view. I've created routes for views by setting a name for them like this: Route::get('/', 'PainelController...
asked by 16.04.2018 / 20:25
1
answer

How to use Bootstrap 'shortcuts' in VSCode in .blade files?

There is an extension called Bootstrap 3 Snippets, however, it only runs snippets in HTML files. How do I get this to work on files from other extensions?     
asked by 28.03.2018 / 18:03
1
answer

Relate 4 bank tables and perform accounts

Hello I have 4 tables: Officials, Companies, Salaries and Discounts. I would like to introduce a kind of Holerite. My initial idea was to bring all the information together and treat the view as follows: (NOTE: I'm using laravel blade) @for...
asked by 04.01.2018 / 00:55
1
answer

Images do not appear in the Mail inbox. Laravel 5.4

There is a contact form where the user sends a message to the system and the system automatically sends a message back thanking their contact and along with the message I send the most viewed articles. What happens is that in my hotmail (in my m...
asked by 10.10.2017 / 04:01
1
answer

Finding last vector item in foreach?

I need to know what the last item in the vector is so that when the last one does not add a comma: Example: SEM SABER QUAL É O ULTIMO ITEM 1,2,3,4,5, SABENDO QUAL É A ULTIMA VIRGULA 1,2,3,4,5 I make a foreach in the variable,...
asked by 30.04.2017 / 16:14
1
answer

How to send email by laravel?

I have the following routine implemented in Laravel $prestadores = \App\Prestador::all(); Mail::send('emails.listaprestadores',['prestadores' => $prestadores], function($message) use ($prestadores){ $message->to('marcelo@mgsis...
asked by 12.11.2016 / 04:10
1
answer

How to solve loading problem css and js laravel in production?

When I run my local application, styles and js are loaded normally. The css and js are in public / css and public / js. In production are not loaded, below the production .htaccess: <IfModule mod_rewrite.c> <IfModule mod_negoti...
asked by 10.11.2016 / 21:12
2
answers

Is it possible to capture the current url in the blade view?

I would like to capture the url example, /user/** (everything starting with / user), I'm using laravel and blade, using Request :: url () I get localhost:8000 but I need something that can capture the routes. Thank you     
asked by 15.08.2016 / 15:40
2
answers

Change table color in Laravel Blade

Hello. I want to change the background of a table according to the type in DB. I'm using Laravel 5.5. Can you help me?     
asked by 30.04.2018 / 05:22
0
answers

Radio Button back with the old value

Hello I have the following code: <div class="resposta"> <label class="radio-inline" style="padding-right: 20px;"> <input type="radio" name="1" value="S" {{ old('resposta1') == "S" ? 'checked' : '' }}&...
asked by 08.03.2018 / 20:11