Skip to content
All gists
Back to GitHub
Sign in
Sign up
Sign in
Sign up
{{ message }}
Instantly share code, notes, and snippets.
Eliezer Margareten
emargareten
19
followers
·
15
following
View GitHub Profile
Sort:
Recently created
Sort options
Recently created
Least recently created
Recently updated
Least recently updated
All gists
1
Starred
1
Sort:
Recently created
Sort options
Recently created
Least recently created
Recently updated
Least recently updated
2 files
0 forks
0 comments
0 stars
emargareten
/
form-button.blade.php
Last active
June 1, 2020 01:29
x-blade form button component
View
form-button.blade.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
@props(['action', 'method'])
<form action="{{ $action }}" method="post">
@csrf
@isset($method)
@method($method)
@endisset
<button type="submit" {{ $attributes }}>
You can’t perform that action at this time.
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.