Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
colleengarcia_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
Ann Colleen Garcia
colleengarcia_reading
Commits
013f157f
Commit
013f157f
authored
Apr 27, 2023
by
Colleen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Modified minor mistakes in templates
parent
b01f17f2
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
1 deletion
+13
-1
forms.cpython-39.pyc
bookshelf/__pycache__/forms.cpython-39.pyc
+0
-0
add-author.html
bookshelf/templates/bookshelf/add-author.html
+1
-1
author_detail.html
bookshelf/templates/bookshelf/author_detail.html
+6
-0
books_detail.html
bookshelf/templates/bookshelf/books_detail.html
+6
-0
No files found.
bookshelf/__pycache__/forms.cpython-39.pyc
0 → 100644
View file @
013f157f
File added
bookshelf/templates/bookshelf/add-author.html
View file @
013f157f
...
...
@@ -18,6 +18,6 @@
Age:
<input
type=
"text"
name=
"publisher"
/><br>
Nationality:
<input
type=
"text"
name=
"year_published"
/><br>
Bio:
<input
type=
"text"
name=
"ISBN"
/><p>
<input
type=
"submit"
value=
"Add
Book
"
/>
<input
type=
"submit"
value=
"Add
Author
"
/>
</form>
{% endblock %}
\ No newline at end of file
bookshelf/templates/bookshelf/author_detail.html
View file @
013f157f
...
...
@@ -4,6 +4,12 @@
<h2>
{{object.age}}
</h2>
<h2>
{{object.nationality}}
</h2>
<h2>
{{object.bio}}
</h2>
<ul>
<li>
<a
href=
"/bookshelf/books/add"
>
Edit Author
</a>
</li>
</ul>
<ul>
<li>
<a
href=
"/bookshelf"
>
home
...
...
bookshelf/templates/bookshelf/books_detail.html
View file @
013f157f
...
...
@@ -6,6 +6,12 @@
<h2>
{{object.year_published}}
</h2>
<h2>
{{object.ISBN}}
</h2>
<h2>
{{object.blurb}}
</h2>
<ul>
<li>
<a
href=
"/bookshelf/books/add"
>
Edit Book
</a>
</li>
</ul>
<ul>
<li>
<a
href=
"/bookshelf"
>
home
...
...
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