File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 5
5
)
6
6
7
7
templ filter () {
8
- <div class =" ml-3 mr-3 mt-3 flex items-center space-x-2" >
8
+ <form class =" ml-3 mr-3 mt-3 flex items-center space-x-2" >
9
9
<div class =" w-full" >
10
10
<label for =" company" class =" block text-sm font-medium leading-6 text-gray-900" >Company</label >
11
11
<div class =" mt-2" >
@@ -23,5 +23,11 @@ templ filter() {
23
23
Label : " Status" ,
24
24
Options : types.JobApplicationStatusSelectOptions ,
25
25
})
26
- </div >
26
+ <button
27
+ type =" submit"
28
+ class =" rounded-md bg-blue-600 mt-8 px-3 py-2 text-sm font-semibold text-white shadow-sm hover:bg-blue-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-blue-600"
29
+ >
30
+ Filter
31
+ </button >
32
+ </form >
27
33
}
Original file line number Diff line number Diff line change 9
9
)
10
10
11
11
templ jobs (jobs []types.JobApplication ) {
12
+ @ filter ()
12
13
<ul role =" list" class =" divide-y divide-gray-100 px-4 py-5 sm:px-6" >
13
14
for _ , j := range jobs {
14
15
<li class =" flex items-center justify-between gap-x-6 py-5" >
You can’t perform that action at this time.
0 commit comments