File tree 26 files changed +32
-32
lines changed
Sources/App/Modules/Blog/Views/Admin/Posts
Sources/App/Modules/Blog/Views/Admin/Posts
Sources/App/Modules/Blog/Views/Admin
Sources/App/Modules/Blog/Views/Admin
Sources/App/Modules/Blog/Views/Admin
Sources/App/Modules/Blog/Views/Admin
26 files changed +32
-32
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ let package = Package(
10
10
. executable( name: " myProject " , targets: [ " myProject " ] ) ,
11
11
] ,
12
12
dependencies: [
13
- . package ( url: " https://github.com/vapor/vapor " , from: " 4.34 .0 " ) ,
13
+ . package ( url: " https://github.com/vapor/vapor " , from: " 4.35 .0 " ) ,
14
14
] ,
15
15
targets: [
16
16
. target( name: " myProject " , dependencies: [
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ let package = Package(
8
8
] ,
9
9
dependencies: [
10
10
// 💧 A server-side Swift web framework.
11
- . package ( url: " https://github.com/vapor/vapor " , from: " 4.34 .0 " )
11
+ . package ( url: " https://github.com/vapor/vapor " , from: " 4.35 .0 " )
12
12
] ,
13
13
targets: [
14
14
. target(
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ let package = Package(
8
8
] ,
9
9
dependencies: [
10
10
// 💧 A server-side Swift web framework.
11
- . package ( url: " https://github.com/vapor/vapor " , from: " 4.34 .0 " ) ,
11
+ . package ( url: " https://github.com/vapor/vapor " , from: " 4.35 .0 " ) ,
12
12
. package ( url: " https://github.com/vapor/leaf " , . exact( " 4.0.0-tau.1 " ) ) ,
13
13
. package ( url: " https://github.com/vapor/leaf-kit " , . exact( " 1.0.0-tau.1.1 " ) ) ,
14
14
. package ( url: " https://github.com/lukaskubanek/LoremSwiftum " , from: " 2.2.1 " )
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ let package = Package(
8
8
] ,
9
9
dependencies: [
10
10
// 💧 A server-side Swift web framework.
11
- . package ( url: " https://github.com/vapor/vapor " , from: " 4.34 .0 " ) ,
11
+ . package ( url: " https://github.com/vapor/vapor " , from: " 4.35 .0 " ) ,
12
12
. package ( url: " https://github.com/vapor/leaf " , . exact( " 4.0.0-tau.1 " ) ) ,
13
13
. package ( url: " https://github.com/vapor/leaf-kit " , . exact( " 1.0.0-tau.1.1 " ) ) ,
14
14
. package ( url: " https://github.com/vapor/fluent " , from: " 4.0.0 " ) ,
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ let package = Package(
8
8
] ,
9
9
dependencies: [
10
10
// 💧 A server-side Swift web framework.
11
- . package ( url: " https://github.com/vapor/vapor " , from: " 4.34 .0 " ) ,
11
+ . package ( url: " https://github.com/vapor/vapor " , from: " 4.35 .0 " ) ,
12
12
. package ( url: " https://github.com/vapor/leaf " , . exact( " 4.0.0-tau.1 " ) ) ,
13
13
. package ( url: " https://github.com/vapor/leaf-kit " , . exact( " 1.0.0-tau.1.1 " ) ) ,
14
14
. package ( url: " https://github.com/vapor/fluent " , from: " 4.0.0 " ) ,
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ let package = Package(
8
8
] ,
9
9
dependencies: [
10
10
// 💧 A server-side Swift web framework.
11
- . package ( url: " https://github.com/vapor/vapor " , from: " 4.34 .0 " ) ,
11
+ . package ( url: " https://github.com/vapor/vapor " , from: " 4.35 .0 " ) ,
12
12
. package ( url: " https://github.com/vapor/leaf " , . exact( " 4.0.0-tau.1 " ) ) ,
13
13
. package ( url: " https://github.com/vapor/leaf-kit " , . exact( " 1.0.0-tau.1.1 " ) ) ,
14
14
. package ( url: " https://github.com/vapor/fluent " , from: " 4.0.0 " ) ,
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ <h2><a href="/admin/blog/posts/">Posts</a> / #(edit.id != nil ? "Edit" : "Create
7
7
#endif
8
8
</ div >
9
9
10
- < form id ="post-edit-form " class ="wrapper " method ="post " action ="/admin/blog/posts/#(edit.id ?? "new ")">
10
+ < form id ="post-edit-form " class ="wrapper " method ="post " action ="/admin/blog/posts/#(edit.id ?? "new ")/ ">
11
11
< input type ="hidden " name ="id " value ="#(edit.id) ">
12
12
13
13
< section >
@@ -43,7 +43,7 @@ <h2><a href="/admin/blog/posts/">Posts</a> / #(edit.id != nil ? "Edit" : "Create
43
43
</ section >
44
44
45
45
< section >
46
- < label for ="date "> Date < span class ="required "> (Y.MM.dd. HH:mm:ss)</ label > </ span >
46
+ < label for ="date "> Date < span class ="required "> (Y.MM.dd. HH:mm:ss)</ span > </ label >
47
47
< input type ="text " name ="date " value ="#(edit.date.value) " class ="field ">
48
48
#if(edit.date.error != nil):
49
49
< span class ="error "> #(edit.date.error)</ span >
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ let package = Package(
8
8
] ,
9
9
dependencies: [
10
10
// 💧 A server-side Swift web framework.
11
- . package ( url: " https://github.com/vapor/vapor " , from: " 4.34 .0 " ) ,
11
+ . package ( url: " https://github.com/vapor/vapor " , from: " 4.35 .0 " ) ,
12
12
. package ( url: " https://github.com/vapor/leaf " , . exact( " 4.0.0-tau.1 " ) ) ,
13
13
. package ( url: " https://github.com/vapor/leaf-kit " , . exact( " 1.0.0-tau.1.1 " ) ) ,
14
14
. package ( url: " https://github.com/vapor/fluent " , from: " 4.0.0 " ) ,
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ <h2><a href="/admin/blog/posts/">Posts</a> / #(edit.id != nil ? "Edit" : "Create
7
7
#endif
8
8
</ div >
9
9
10
- < form id ="post-edit-form " class ="wrapper " method ="post " action ="/admin/blog/posts/#(edit.id ?? "new ")" enctype="multipart/form-data ">
10
+ < form id ="post-edit-form " class ="wrapper " method ="post " action ="/admin/blog/posts/#(edit.id ?? "new ")/ " enctype="multipart/form-data ">
11
11
< input type ="hidden " name ="id " value ="#(edit.id) ">
12
12
13
13
< section >
@@ -59,7 +59,7 @@ <h2><a href="/admin/blog/posts/">Posts</a> / #(edit.id != nil ? "Edit" : "Create
59
59
</ section >
60
60
61
61
< section >
62
- < label for ="date "> Date < span class ="required "> (Y.MM.dd. HH:mm:ss)</ label > </ span >
62
+ < label for ="date "> Date < span class ="required "> (Y.MM.dd. HH:mm:ss)</ span > </ label >
63
63
< input type ="text " name ="date " value ="#(edit.date.value) " class ="field ">
64
64
#if(edit.date.error != nil):
65
65
< span class ="error "> #(edit.date.error)</ span >
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ let package = Package(
8
8
] ,
9
9
dependencies: [
10
10
// 💧 A server-side Swift web framework.
11
- . package ( url: " https://github.com/vapor/vapor " , from: " 4.34 .0 " ) ,
11
+ . package ( url: " https://github.com/vapor/vapor " , from: " 4.35 .0 " ) ,
12
12
. package ( url: " https://github.com/vapor/leaf " , . exact( " 4.0.0-tau.1 " ) ) ,
13
13
. package ( url: " https://github.com/vapor/leaf-kit " , . exact( " 1.0.0-tau.1.1 " ) ) ,
14
14
. package ( url: " https://github.com/vapor/fluent " , from: " 4.0.0 " ) ,
Original file line number Diff line number Diff line change 4
4
< h2 > < a href ="/admin/blog/categories/ "> Categories</ a > / #(edit.id != nil ? "Edit" : "Create")</ h2 >
5
5
</ div >
6
6
7
- < form id ="category-edit-form " class ="wrapper " method ="post " action ="/admin/blog/categories/#(edit.id ?? "new ")">
7
+ < form id ="category-edit-form " class ="wrapper " method ="post " action ="/admin/blog/categories/#(edit.id ?? "new ")/ ">
8
8
< input type ="hidden " name ="id " value ="#(edit.id) ">
9
9
10
10
< section >
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ <h2><a href="/admin/blog/posts/">Posts</a> / #(edit.id != nil ? "Edit" : "Create
7
7
#endif
8
8
</ div >
9
9
10
- < form id ="post-edit-form " class ="wrapper " method ="post " action ="/admin/blog/posts/#(edit.id ?? "new ")" enctype="multipart/form-data ">
10
+ < form id ="post-edit-form " class ="wrapper " method ="post " action ="/admin/blog/posts/#(edit.id ?? "new ")/ " enctype="multipart/form-data ">
11
11
< input type ="hidden " name ="id " value ="#(edit.id) ">
12
12
13
13
< section >
@@ -59,7 +59,7 @@ <h2><a href="/admin/blog/posts/">Posts</a> / #(edit.id != nil ? "Edit" : "Create
59
59
</ section >
60
60
61
61
< section >
62
- < label for ="date "> Date < span class ="required "> (Y.MM.dd. HH:mm:ss)</ label > </ span >
62
+ < label for ="date "> Date < span class ="required "> (Y.MM.dd. HH:mm:ss)</ span > </ label >
63
63
< input type ="text " name ="date " value ="#(edit.date.value) " class ="field ">
64
64
#if(edit.date.error != nil):
65
65
< span class ="error "> #(edit.date.error)</ span >
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ let package = Package(
8
8
] ,
9
9
dependencies: [
10
10
// 💧 A server-side Swift web framework.
11
- . package ( url: " https://github.com/vapor/vapor " , from: " 4.34 .0 " ) ,
11
+ . package ( url: " https://github.com/vapor/vapor " , from: " 4.35 .0 " ) ,
12
12
. package ( url: " https://github.com/vapor/leaf " , . exact( " 4.0.0-tau.1 " ) ) ,
13
13
. package ( url: " https://github.com/vapor/leaf-kit " , . exact( " 1.0.0-tau.1.1 " ) ) ,
14
14
. package ( url: " https://github.com/vapor/fluent " , from: " 4.0.0 " ) ,
Original file line number Diff line number Diff line change 4
4
< h2 > < a href ="/admin/blog/categories/ "> Categories</ a > / #(edit.id != nil ? "Edit" : "Create")</ h2 >
5
5
</ div >
6
6
7
- < form id ="category-edit-form " class ="wrapper " method ="post " action ="/admin/blog/categories/#(edit.id ?? "new ")">
7
+ < form id ="category-edit-form " class ="wrapper " method ="post " action ="/admin/blog/categories/#(edit.id ?? "new ")/ ">
8
8
< input type ="hidden " name ="id " value ="#(edit.id) ">
9
9
10
10
< section >
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ <h2><a href="/admin/blog/posts/">Posts</a> / #(edit.id != nil ? "Edit" : "Create
7
7
#endif
8
8
</ div >
9
9
10
- < form id ="post-edit-form " class ="wrapper " method ="post " action ="/admin/blog/posts/#(edit.id ?? "new ")" enctype="multipart/form-data ">
10
+ < form id ="post-edit-form " class ="wrapper " method ="post " action ="/admin/blog/posts/#(edit.id ?? "new ")/ " enctype="multipart/form-data ">
11
11
< input type ="hidden " name ="id " value ="#(edit.id) ">
12
12
13
13
< section >
@@ -59,7 +59,7 @@ <h2><a href="/admin/blog/posts/">Posts</a> / #(edit.id != nil ? "Edit" : "Create
59
59
</ section >
60
60
61
61
< section >
62
- < label for ="date "> Date < span class ="required "> (Y.MM.dd. HH:mm:ss)</ label > </ span >
62
+ < label for ="date "> Date < span class ="required "> (Y.MM.dd. HH:mm:ss)</ span > </ label >
63
63
< input type ="text " name ="date " value ="#(edit.date.value) " class ="field ">
64
64
#if(edit.date.error != nil):
65
65
< span class ="error "> #(edit.date.error)</ span >
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ let package = Package(
8
8
] ,
9
9
dependencies: [
10
10
// 💧 A server-side Swift web framework.
11
- . package ( url: " https://github.com/vapor/vapor " , from: " 4.34 .0 " ) ,
11
+ . package ( url: " https://github.com/vapor/vapor " , from: " 4.35 .0 " ) ,
12
12
. package ( url: " https://github.com/vapor/leaf " , . exact( " 4.0.0-tau.1 " ) ) ,
13
13
. package ( url: " https://github.com/vapor/leaf-kit " , . exact( " 1.0.0-tau.1.1 " ) ) ,
14
14
. package ( url: " https://github.com/vapor/fluent " , from: " 4.0.0 " ) ,
Original file line number Diff line number Diff line change 4
4
< h2 > < a href ="/admin/blog/categories/ "> Categories</ a > / #(edit.id != nil ? "Edit" : "Create")</ h2 >
5
5
</ div >
6
6
7
- < form id ="category-edit-form " class ="wrapper " method ="post " action ="/admin/blog/categories/#(edit.id ?? "new ")">
7
+ < form id ="category-edit-form " class ="wrapper " method ="post " action ="/admin/blog/categories/#(edit.id ?? "new ")/ ">
8
8
< input type ="hidden " name ="id " value ="#(edit.id) ">
9
9
10
10
< section >
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ <h2><a href="/admin/blog/posts/">Posts</a> / #(edit.id != nil ? "Edit" : "Create
7
7
#endif
8
8
</ div >
9
9
10
- < form id ="post-edit-form " class ="wrapper " method ="post " action ="/admin/blog/posts/#(edit.id ?? "new ")" enctype="multipart/form-data ">
10
+ < form id ="post-edit-form " class ="wrapper " method ="post " action ="/admin/blog/posts/#(edit.id ?? "new ")/ " enctype="multipart/form-data ">
11
11
< input type ="hidden " name ="id " value ="#(edit.id) ">
12
12
13
13
< section >
@@ -59,7 +59,7 @@ <h2><a href="/admin/blog/posts/">Posts</a> / #(edit.id != nil ? "Edit" : "Create
59
59
</ section >
60
60
61
61
< section >
62
- < label for ="date "> Date < span class ="required "> (Y.MM.dd. HH:mm:ss)</ label > </ span >
62
+ < label for ="date "> Date < span class ="required "> (Y.MM.dd. HH:mm:ss)</ span > </ label >
63
63
< input type ="text " name ="date " value ="#(edit.date.value) " class ="field ">
64
64
#if(edit.date.error != nil):
65
65
< span class ="error "> #(edit.date.error)</ span >
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ let package = Package(
8
8
] ,
9
9
dependencies: [
10
10
// 💧 A server-side Swift web framework.
11
- . package ( url: " https://github.com/vapor/vapor " , from: " 4.34 .0 " ) ,
11
+ . package ( url: " https://github.com/vapor/vapor " , from: " 4.35 .0 " ) ,
12
12
. package ( url: " https://github.com/vapor/leaf " , . exact( " 4.0.0-tau.1 " ) ) ,
13
13
. package ( url: " https://github.com/vapor/leaf-kit " , . exact( " 1.0.0-tau.1.1 " ) ) ,
14
14
. package ( url: " https://github.com/vapor/fluent " , from: " 4.0.0 " ) ,
Original file line number Diff line number Diff line change 4
4
< h2 > < a href ="/admin/blog/categories/ "> Categories</ a > / #(edit.id != nil ? "Edit" : "Create")</ h2 >
5
5
</ div >
6
6
7
- < form id ="category-edit-form " class ="wrapper " method ="post " action ="/admin/blog/categories/#(edit.id ?? "new ")">
7
+ < form id ="category-edit-form " class ="wrapper " method ="post " action ="/admin/blog/categories/#(edit.id ?? "new ")/ ">
8
8
< input type ="hidden " name ="id " value ="#(edit.id) ">
9
9
10
10
< section >
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ <h2><a href="/admin/blog/posts/">Posts</a> / #(edit.id != nil ? "Edit" : "Create
7
7
#endif
8
8
</ div >
9
9
10
- < form id ="post-edit-form " class ="wrapper " method ="post " action ="/admin/blog/posts/#(edit.id ?? "new ")" enctype="multipart/form-data ">
10
+ < form id ="post-edit-form " class ="wrapper " method ="post " action ="/admin/blog/posts/#(edit.id ?? "new ")/ " enctype="multipart/form-data ">
11
11
< input type ="hidden " name ="id " value ="#(edit.id) ">
12
12
13
13
< section >
@@ -59,7 +59,7 @@ <h2><a href="/admin/blog/posts/">Posts</a> / #(edit.id != nil ? "Edit" : "Create
59
59
</ section >
60
60
61
61
< section >
62
- < label for ="date "> Date < span class ="required "> (Y.MM.dd. HH:mm:ss)</ label > </ span >
62
+ < label for ="date "> Date < span class ="required "> (Y.MM.dd. HH:mm:ss)</ span > </ label >
63
63
< input type ="text " name ="date " value ="#(edit.date.value) " class ="field ">
64
64
#if(edit.date.error != nil):
65
65
< span class ="error "> #(edit.date.error)</ span >
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ let package = Package(
8
8
] ,
9
9
dependencies: [
10
10
// 💧 A server-side Swift web framework.
11
- . package ( url: " https://github.com/vapor/vapor " , from: " 4.34 .0 " ) ,
11
+ . package ( url: " https://github.com/vapor/vapor " , from: " 4.35 .0 " ) ,
12
12
. package ( url: " https://github.com/vapor/leaf " , . exact( " 4.0.0-tau.1 " ) ) ,
13
13
. package ( url: " https://github.com/vapor/leaf-kit " , . exact( " 1.0.0-tau.1.1 " ) ) ,
14
14
. package ( url: " https://github.com/vapor/fluent " , from: " 4.0.0 " ) ,
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ let package = Package(
8
8
] ,
9
9
dependencies: [
10
10
// 💧 A server-side Swift web framework.
11
- . package ( url: " https://github.com/vapor/vapor " , from: " 4.34 .0 " ) ,
11
+ . package ( url: " https://github.com/vapor/vapor " , from: " 4.35 .0 " ) ,
12
12
. package ( url: " https://github.com/vapor/leaf " , . exact( " 4.0.0-tau.1 " ) ) ,
13
13
. package ( url: " https://github.com/vapor/leaf-kit " , . exact( " 1.0.0-tau.1.1 " ) ) ,
14
14
. package ( url: " https://github.com/vapor/fluent " , from: " 4.0.0 " ) ,
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ let package = Package(
8
8
] ,
9
9
dependencies: [
10
10
// 💧 A server-side Swift web framework.
11
- . package ( url: " https://github.com/vapor/vapor " , from: " 4.34 .0 " ) ,
11
+ . package ( url: " https://github.com/vapor/vapor " , from: " 4.35 .0 " ) ,
12
12
. package ( url: " https://github.com/vapor/leaf " , . exact( " 4.0.0-tau.1 " ) ) ,
13
13
. package ( url: " https://github.com/vapor/leaf-kit " , . exact( " 1.0.0-tau.1.1 " ) ) ,
14
14
. package ( url: " https://github.com/vapor/fluent " , from: " 4.0.0 " ) ,
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ let package = Package(
8
8
] ,
9
9
dependencies: [
10
10
// 💧 A server-side Swift web framework.
11
- . package ( url: " https://github.com/vapor/vapor " , from: " 4.34 .0 " ) ,
11
+ . package ( url: " https://github.com/vapor/vapor " , from: " 4.35 .0 " ) ,
12
12
. package ( url: " https://github.com/vapor/leaf " , . exact( " 4.0.0-tau.1 " ) ) ,
13
13
. package ( url: " https://github.com/vapor/leaf-kit " , . exact( " 1.0.0-tau.1.1 " ) ) ,
14
14
. package ( url: " https://github.com/vapor/fluent " , from: " 4.0.0 " ) ,
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ let package = Package(
8
8
] ,
9
9
dependencies: [
10
10
// 💧 A server-side Swift web framework.
11
- . package ( url: " https://github.com/vapor/vapor " , from: " 4.34 .0 " ) ,
11
+ . package ( url: " https://github.com/vapor/vapor " , from: " 4.35 .0 " ) ,
12
12
. package ( url: " https://github.com/vapor/leaf " , . exact( " 4.0.0-tau.1 " ) ) ,
13
13
. package ( url: " https://github.com/vapor/leaf-kit " , . exact( " 1.0.0-tau.1.1 " ) ) ,
14
14
. package ( url: " https://github.com/vapor/fluent " , from: " 4.0.0 " ) ,
You can’t perform that action at this time.
0 commit comments