Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
trishamillena_reading
Project
Project
Details
Activity
Releases
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
Trisha Angel Millena
trishamillena_reading
Commits
e50c072d
Commit
e50c072d
authored
Apr 25, 2023
by
Trisha Angel Millena
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Edited book_details.html: Added edit button
parent
4fa69934
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
1 deletion
+5
-1
urls.cpython-39.pyc
...millena_reading/bookshelf/__pycache__/urls.cpython-39.pyc
+0
-0
views.cpython-39.pyc
...illena_reading/bookshelf/__pycache__/views.cpython-39.pyc
+0
-0
book_details.html
...a_reading/bookshelf/templates/bookshelf/book_details.html
+4
-0
views.py
trishamillena_reading/bookshelf/views.py
+1
-1
No files found.
trishamillena_reading/bookshelf/__pycache__/urls.cpython-39.pyc
View file @
e50c072d
No preview for this file type
trishamillena_reading/bookshelf/__pycache__/views.cpython-39.pyc
View file @
e50c072d
No preview for this file type
trishamillena_reading/bookshelf/templates/bookshelf/book_details.html
View file @
e50c072d
...
...
@@ -12,6 +12,10 @@
<p
id =
"Details"
>
{{ object.ISBN }}
</p>
<p
id =
"Details"
>
{{ object.blurb }}
</p>
<form
action =
"../edit"
>
<!-- for edit button-->
<input
type =
"submit"
value =
"Add Book"
/>
</form>
<a
href =
'/bookshelf/home/'
>
Home
</a>
<a
href =
'/bookshelf/books/'
>
Books
</a>
<a
href =
'/bookshelf/authors/'
>
Authors
</a>
...
...
trishamillena_reading/bookshelf/views.py
View file @
e50c072d
...
...
@@ -39,4 +39,4 @@ class AuthorCreateView(CreateView):
class
BooksUpdateView
(
UpdateView
):
model
=
Books
fields
=
"__all__"
template_name
=
'bookshelf.edit-book.html'
\ No newline at end of file
template_name
=
'bookshelf/edit-book.html'
\ No newline at end of file
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