Category : html

ola! estou tentando indexar a view produtos.blade.php dentro do meu arquivo index da pasta tutorial e esse erro me é retornado, o que pode ser? minha controladora TutorialContrroler: <?php namespace consignadoHttpControllers; use IlluminateHttpRequest; class TutorialController extends Controller { private $tutorial; public function __construct() { $this->middleware(‘auth’); } /** * Display a listing of the resource. * ..

Read more

this is route Route::post(‘/delete/comment/{comment}’, ‘[email protected]’)->name(‘comment.delete’); this is function public function deleteAttachment(Comment $comment){ dd($comment); } and this is where I’m trying to use it <a target="_blank" class="btn btn-outline-danger function mr-2 " href="{{route(‘backend.ticket.comment.delete’,[‘comment’=>$comment->id])}}"><i class="mdi mdi-delete"></i></a> and this is error: The GET method is not supported for this route. Supported methods: POST. Sourc..

Read more

this is route Route::post(‘/delete/comment/{comment}’, ‘[email protected]’)->name(‘comment.delete’); this is function public function deleteAttachment(Comment $comment){ dd($comment); } and this is where I’m trying to use it <a target="_blank" class="btn btn-outline-danger function mr-2 " href="{{route(‘backend.ticket.comment.delete’,[‘comment’=>$comment->id])}}"><i class="mdi mdi-delete"></i></a> and this is error: The GET method is not supported for this route. Supported methods: POST. Sourc..

Read more

I am using laravel 8, Laravel-livewire and tailwind css. I made this spinner with tailwind animate-spin but when it appears the search bar gets shifted. How to fix this problem? My code : <div class="relative mt-3 md:mt-0"> <!– Search Bar Here –> <input wire:model="search" type="text" class="bg-gray-800 text-sm rounded-full w-64 px-4 pl-8 py-1 focus:outline-none focus:shadow-outline" placeholder="Search"> ..

Read more

I am using the select form in from bootstrap v4.5. but after i select an option the select option box becomes smaller. <div class="form-group"> <label for="exampleFormControlSelect1">District*</label> <select style="width: 100%" onchange="shipping_district({{($sum_total)- ($coupon_minus)}})" class="form-control" name="checkout_district_n" id="checkout_district"> <option>Dhaka</option> <option>Chittagong</option> <option>Barisal</option> <option>Jessore</option> <option>Rajshahi</option> <option>Rangpur</option> <option>Khulna</option> <option>Sylhet</option> </select> </div Modal before selection Modal after selection Sourc..

Read more

<div class="form-group row"> <div class="col-xs-10"> <h5 style="margin-bottom: 12px;">@lang(‘admin.roles.pages’)</h5> </div> <div class="col-xs-12"> <div class="col-xs-2"> <?php $page_view = check_permission(‘pagelist’, $id); ?> <input <?php if ($page_view == 1) { echo ‘checked=checked’; } ?> style="float: left;" type="checkbox" value="admin.List-Page" name="roles[pagelist]" id="pageview"> <label style="float: left; margin-left: 5px; margin-top: 6px;" for="pageview">View</label> </div> <div class="col-xs-2"> <?php $page_create = check_permission(‘pagecreate’, $id); ?> <input <?php ..

Read more

My laravel controller public function index() { $get=Storage::disk(‘public’)>get(‘Philippines.json’); $json = json_decode($get, true); return view(‘BarangayFolder.index’)>with(‘json’,$json); the output i’m trying to achieve on my option tag is something like this; "BANI" "BUYON" "CABARUAN" "CABULALAAN" "CABUSLIGAN" "CALIOET-LIBONG" "CASILIAN" "COROCOR" i’cant figure out how to get all the of "barangay_list" data, i tried many solution and ideas but still ..

Read more

When I click on toggle navigation content is not pushing down and data of navbar override on content of body. I am implementing this in my laravel project, but when I copy same code in blank page it works fine. <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#menu"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> ..

Read more

I am using an AdminLte template, which I use as a layout. In the part where I am going to put the content it is like this: <div class="content-wrapper"> <section class="content"> @yield(‘content’) </section> <!– /.content –> </div> In the view where I have the content to display I have: @extends(‘layouts.app’) @section(‘content’) <div> <img class="mx-auto my-auto ..

Read more

I have a dropdown menu where the menu items are filled dynamically from the DB using laravel blade template language. I’m trying to fire on click events on the menu items by JQuery click() by a class selector function but nothing is happening. Here’s the menu: <div class="navbar-container main-menu-content" data-menu="menu-container"> <ul class="nav navbar-nav" id="main-menu-navigation" data-menu="menu-navigation"> ..

Read more