Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
bookshare
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
30
Issues
30
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
SRCT
bookshare
Commits
a11f5526
Commit
a11f5526
authored
Feb 26, 2020
by
Daniel W Bond
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use crispy form tag for update rating form
parent
c2857d1b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
bookshare/trades/templates/rating_edit.html
bookshare/trades/templates/rating_edit.html
+4
-2
No files found.
bookshare/trades/templates/rating_edit.html
View file @
a11f5526
...
...
@@ -6,14 +6,16 @@ SRCT Bookshare • {{ listing.title }} • Edit Rating
{% block content %}
{% load crispy_forms_tags %}
{% include 'layouts/bookshare_title.html' with subtitle="Edit Rating" %}
<div
class=
"row"
>
<div
class=
"col-md-8 col-md-offset-2"
>
<div
class=
"panel panel-default"
>
<div
class=
"panel-
heading
"
>
<div
class=
"panel-
body
"
>
<form
action=
""
method=
"post"
>
{% csrf_token %}
{{ form
.as_p
}}
{{ form
|crispy
}}
<input
type=
"submit"
value=
"Update"
class=
"btn btn-primary"
/>
<input
type=
"cancel"
value=
"Never Mind"
class=
"btn btn-default"
onclick=
"history.back()"
/>
</form>
...
...
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