Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
janang_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
Jan Ericsson Ong Ang
janang_reading
Commits
4c3da610
Commit
4c3da610
authored
Apr 25, 2023
by
Jan Ericsson Ong Ang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added method to the form of addbookk & add author
parent
2a66faa4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
add-author.html
janang_reading/bookshelf/templates/bookshelf/add-author.html
+2
-1
add-book.html
janang_reading/bookshelf/templates/bookshelf/add-book.html
+2
-1
No files found.
janang_reading/bookshelf/templates/bookshelf/add-author.html
View file @
4c3da610
...
...
@@ -4,7 +4,8 @@
{% block title %}Add New Author{% endblock %}
{% block content %}
<form>
<form
method=
"post"
>
{% csrf_token %}
<label>
First Name:
</label>
<input
id=
"first_name"
type=
"text"
name=
"first_name"
max
length=
"50"
required
/>
<label>
Last Name:
</label>
...
...
janang_reading/bookshelf/templates/bookshelf/add-book.html
View file @
4c3da610
...
...
@@ -4,7 +4,8 @@
{% block title %}Add New Book{% endblock %}
{% block content %}
<form>
<form
method=
"post"
>
{% csrf_token %}
<label>
Title:
</label>
<input
id=
"title"
type=
"text"
name=
"title"
max
length=
"50"
required
/>
<label>
Author:
</label>
...
...
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