Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
P
Project_Laravel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
TTS Nguyen Huu Huan
Project_Laravel
Commits
925ac8d2
Commit
925ac8d2
authored
Sep 13, 2022
by
Le Dinh Trung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix validation plugin not working
parent
3c4974d3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
form.blade.php
resources/views/post/form.blade.php
+4
-3
No files found.
resources/views/post/form.blade.php
View file @
925ac8d2
@
extends
(
'layouts.app'
)
@
section
(
'content'
)
<
form
method
=
"POST"
action
=
"{{
$post->id
? route('posts.update',
$post->id
) : route('posts.store') }}"
>
<
form
method
=
"POST"
id
=
"form"
action
=
"{{
$post->id
? route('posts.update',
$post->id
) : route('posts.store') }}"
>
@
csrf
@
if
(
$post
->
id
)
@
method
(
'PUT'
)
...
...
@@ -43,7 +43,7 @@
<
div
class
=
"col-md-12"
>
<!--
Basic
layout
-->
<
div
class
=
"card"
>
<
form
class
=
"card-body"
id
=
"form"
>
<
div
class
=
"card-body"
>
<
div
class
=
"form-group row"
>
<
label
class
=
"col-lg-3 col-form-label"
>
Tiêu
đề
</
label
>
<
div
class
=
"col-lg-9"
>
...
...
@@ -94,7 +94,7 @@
<
div
class
=
"text-right"
>
<
button
type
=
""
class
=
"btn btn-primary"
>
Lưu
<
i
class
=
"icon-paperplane ml-2"
></
i
></
button
>
</
div
>
</
form
>
</
div
>
</
div
>
<!--
/
basic
layout
-->
</
div
>
...
...
@@ -142,6 +142,7 @@
}
}
})
})
</
script
>
@
endsection
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment