Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
Deokhyun_Lee_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
Deokhyun Lee
Deokhyun_Lee_reading
Commits
174b4b97
Commit
174b4b97
authored
Apr 25, 2023
by
Deokhyun Lee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
html for edit-author has been correctly set up.
parent
8f7b159e
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
2 deletions
+13
-2
add-author.html
...n_Lee_reading/bookshelf/templates/authors/add-author.html
+0
-1
author_details.html
...e_reading/bookshelf/templates/authors/author_details.html
+1
-0
edit-author.html
..._Lee_reading/bookshelf/templates/authors/edit-author.html
+11
-0
book_details.html
...n_Lee_reading/bookshelf/templates/books/book_details.html
+1
-1
No files found.
Deokhyun_Lee_reading/bookshelf/templates/authors/add-author.html
View file @
174b4b97
{% extends 'base.html'%}
{% block title %}
Add New Author
{% endblock %}
...
...
Deokhyun_Lee_reading/bookshelf/templates/authors/author_details.html
View file @
174b4b97
...
...
@@ -16,6 +16,7 @@
{{author.nationality}}
<br>
{{author.bio}}
<br>
</ul>
<li
><button
type=
"button"
onclick=
"window.location.href='/authors/{{author.pk}}/edit'"
>
Edit Author
</button></li>
<h3>
Books by {{author.first_name}} {{author.last_name}} I love:
</h3>
{% if books %}
<ul>
...
...
Deokhyun_Lee_reading/bookshelf/templates/authors/edit-author.html
0 → 100644
View file @
174b4b97
{% extends 'base.html'%}
{% block title %}
Add New Author
{% endblock %}
{% block content %}
<form
method=
"post"
>
{% csrf_token %}
{{ form.as_p }}
<button
type=
"submit"
>
Save Changes
</button>
</form>
{% endblock %}
\ No newline at end of file
Deokhyun_Lee_reading/bookshelf/templates/books/book_details.html
View file @
174b4b97
...
...
@@ -23,7 +23,7 @@
<p>
No Available Books.
</p>
{% endif %}
<ul>
<li
><button
type=
"button"
onclick=
"window.location.href='/books/{{book.pk}}/edit'"
>
Edit Book
s
</button></li>
<li
><button
type=
"button"
onclick=
"window.location.href='/books/{{book.pk}}/edit'"
>
Edit Book
</button></li>
<li><a
href=
"/home"
>
Home
</a>
&
nbsp
&
nbsp
&
nbsp
&
nbsp
&
nbsp
<a
href=
"/books"
>
Books
</a>
&
nbsp
&
nbsp
&
nbsp
&
nbsp
&
nbsp
<a
href=
"/authors"
>
Authors
</a></li>
</ul>
{% endblock %}
\ 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