Is it better than this option?

|
Denno_IT 2022-08-20 12:23:48
laravel_discuss-134254.jpg

Denno_IT 2022-08-20 12:23:48
laravel_discuss-134253.jpg

Denno_IT 2022-08-20 12:23:48
laravel_discuss-134252.jpg

Denno_IT 2022-08-20 12:23:48
laravel_discuss-134251.jpg

Denno_IT 2022-08-20 12:23:48
laravel_discuss-134250.jpg

Denno_IT 2022-08-20 12:29:12
I don’t get you
Denno_IT 2022-08-20 12:38:56
Still the same issue
Denno_IT 2022-08-20 12:39:41
So which one should I use?
Denno_IT 2022-08-20 12:46:13
I have used it and no changes
Denno_IT 2022-08-20 12:48:06
okay
Denno_IT 2022-08-20 12:48:24
laravel_discuss-134274.jpg

Denno_IT 2022-08-20 12:51:41
So I need to add {id}
Denno_IT 2022-08-20 12:56:29
A minute
Denno_IT 2022-08-20 13:03:08
same error
Denno_IT 2022-08-20 13:03:20
laravel_discuss-134283.jpg

Denno_IT 2022-08-20 13:05:16
laravel_discuss-134287.jpg

Denno_IT 2022-08-20 13:05:34
this is how it returns
Denno_IT 2022-08-20 13:06:59
<div class=”modal right fade” id=”editUser” data-backdrop=”static” data-keyboard=”false” tabindex=”-1″ aria-labelledby=”staticBackdropLabel” aria-hidden=”true”>

{{– modal for editing user details–}}
<div class=”modal-dialog”>
<div class=”modal-content”>
<div class=”modal-header”>
<h4 class=”modal-title” id=”staticBackdropLabel”>Add User</h4>
<button type=”button” class=”btn-close” data-bs-dismiss=”modal” aria-label=”Close”>
<span aria-hidden=”true”>&times;</span>
</button>
{{ $store->id }}
</div>
<div class=”modal-body”>
<form action=”update” method=”post/{{ $store->id }}” enctype=””>
@csrf
{{– <div class=”form-group”>
<label for=””>Name<label>
<input type=”text” name=”name” id=”” class=”form-control”>
</div>

<div class=”form-group”>
<label for=””>Email<label>
<input type=”email” name=”email” id=”” class=”form-control”>
</div> –}}
<div class=”form-group”>
<label for=””>Name</label>
<input type=”text” name=”name” id=”” value=”{{ $store->name }}” class=”form-control”>
</div>
<div class=”form-group”>
<label for=””>Email</label>
<input type=”email” name=”email” id=”” value=”{{ $store->email }}” class=”form-control”>
</div>
<div class=”form-group”>
<label for=””>Phone</label>
<input type=”number” name=”phone” id=”” value=”{{ $store->phone }}” class=”form-control”>
</div>
<div class=”form-group”>
<label for=””>Password</label>
<input type=”password” name=”password” id=”” value=”{{ $store->password }}” class=”form-control”>
</div>
<div class=”form-group”>
<label for=””>Confirm Password</label>
<input type=”password” name=”confirm_password” id=”” value=”{{ $store->confirm_password}}” class=”form-control”>
</div>
<div class=”form-group”>
<label for=””>Role</label>
<select name=”role” id=”” class=”form-control”>
<option value=”1″ @if ($store->role==1)
selected

@endif>Admin</option>
<option value=”2″ @if ($store->role==2)
selected

@endif>Cashire</option>
</select>
</div>
<div class=”modal-footer”>
<button class=”btn btn-primary btn-block”>Save User</button>
</div>
</form>
</div>
</div>
</div>

Denno_IT 2022-08-20 13:12:29
have you see the issue??
lonelyyAstronaut 2022-08-20 13:21:43
can anyone tell me if there is an easier way to access the route name of the previous route that’s accessed through back()
lonelyyAstronaut 2022-08-20 13:21:58
app(‘router’)->getRoutes()->match(app(‘request’)->create(url()->previous()))->getName();
lonelyyAstronaut 2022-08-20 13:22:13
this works but seems like a long way to go
lonelyyAstronaut 2022-08-20 13:27:51
but previous doesnt exist on Route façade
lonelyyAstronaut 2022-08-20 13:28:38
lonelyyAstronaut 2022-08-20 13:21:58
app(‘router’)->getRoutes()->match(app(‘request’)->create(url()->previous()))->getName();

is it better than this option?

lonelyyAstronaut 2022-08-20 13:30:32
okay thanks
lonelyyAstronaut 2022-08-20 14:23:11
oh this is far more better thanks
Mrhopeful27 Doliz 2022-08-20 14:34:01
I cant get my card counting total number of subscribed user
osama2009x 2022-08-20 14:34:14
what is macro
Mrhopeful27 Doliz 2022-08-20 14:34:16
using pdo
rlawjddn00 2022-08-20 14:34:18
Can anyone tell me what flex-shrink is easily
Mrhopeful27 Doliz 2022-08-20 14:36:06
rlawjddn00 2022-08-20 14:34:18
Can anyone tell me what flex-shrink is easily

The flex-shrink CSS property sets the flex shrink factor of a flex item. If the size of all flex items is larger than the flex container, items shrink to fit according to flex-shrink.

In use, flex-shrink is used alongside the other flex properties flex-grow and flex-basis, and normally defined using the flex shorthand.

rlawjddn00 2022-08-20 14:37:20
Mrhopeful27 Doliz 2022-08-20 14:36:06
The flex-shrink CSS property sets the flex shrink factor of a flex item. If the size of all flex items is larger than the flex container, items shrink to fit according to flex-shrink.

In use, flex-shrink is used alongside the other flex properties flex-grow and flex-basis, and normally defined using the flex shorthand.

Wow I’ve understood

rlawjddn00 2022-08-20 14:37:43
Mrhopeful27 Doliz 2022-08-20 14:36:06
The flex-shrink CSS property sets the flex shrink factor of a flex item. If the size of all flex items is larger than the flex container, items shrink to fit according to flex-shrink.

In use, flex-shrink is used alongside the other flex properties flex-grow and flex-basis, and normally defined using the flex shorthand.

Thanks!

Mrhopeful27 Doliz 2022-08-20 14:38:58
you welcome
sunflower808 2022-08-20 15:14:43
How can I fix this error please
|