Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
L
library-app-django
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
Ilham Maulana
library-app-django
Commits
7a8af5cc
Commit
7a8af5cc
authored
Jul 15, 2024
by
Ilham Maulana
💻
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: book form button url
parent
512459f6
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
book_detail.html
book/templates/book_detail.html
+2
-2
book_table_data.html
book/templates/book_table_data.html
+2
-2
books.html
book/templates/books.html
+1
-1
No files found.
book/templates/book_detail.html
View file @
7a8af5cc
...
...
@@ -2,10 +2,10 @@
<div
style=
"max-width: 80vw"
class=
"w-100 p-4"
>
<div
class=
"d-flex justify-content-between pb-4"
>
<div
class=
"d-flex gap-2 pb-4"
>
<a
class=
"btn btn-success"
href=
"/
dashboard/
books/{{ book.id }}/update"
>
<a
class=
"btn btn-success"
href=
"/books/{{ book.id }}/update"
>
<i
class=
"bi bi-pencil-square"
></i>
Edit
</a>
<a
class=
"btn btn-danger"
href=
"/
dashboard/
books/{{ book.id }}/delete/"
>
<a
class=
"btn btn-danger"
href=
"/books/{{ book.id }}/delete/"
>
<i
class=
"bi bi-trash3-fill"
></i>
Delete
</a>
</div>
...
...
book/templates/book_table_data.html
View file @
7a8af5cc
...
...
@@ -23,13 +23,13 @@
<div
class=
"d-flex gap-2"
>
<a
class=
"btn btn-success"
href=
"/
dashboard/
books/{{ book.id }}/update"
href=
"/books/{{ book.id }}/update"
>
<i
class=
"bi bi-pencil-square"
></i>
</a>
<a
class=
"btn btn-danger"
href=
"/
dashboard/
books/{{ book.id }}/delete/"
href=
"/books/{{ book.id }}/delete/"
>
<i
class=
"bi bi-trash3-fill"
></i>
</a>
...
...
book/templates/books.html
View file @
7a8af5cc
...
...
@@ -2,7 +2,7 @@
<div
style=
"max-width: 80vw"
class=
"w-100 p-4"
>
<div
class=
"d-flex gap-2 pb-4"
>
{% include "order_form.html" %}
<a
type=
"button"
class=
"btn btn-primary"
href=
"/
dashboard/
books/add"
>
<a
type=
"button"
class=
"btn btn-primary"
href=
"/books/add"
>
<i
class=
"bi bi-plus-circle"
></i>
Add Book
</a>
{% include "search_form.html" %}
...
...
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