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
90539e21
Commit
90539e21
authored
Feb 26, 2020
by
Daniel W Bond
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added crispy filtering to update listing page, where it was missing
parent
30a044c8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
6 deletions
+12
-6
bookshare/trades/templates/listing_edit.html
bookshare/trades/templates/listing_edit.html
+12
-6
No files found.
bookshare/trades/templates/listing_edit.html
View file @
90539e21
...
...
@@ -6,6 +6,8 @@ SRCT Bookshare • {{ listing.title }} • Edit
{% block content %}
{% load crispy_forms_tags %}
<div
class=
"row"
>
<div
class=
"col-lg-12 text-center"
>
<h1><strong>
SRCT
</strong>
​
BOOKSHARE
</h1>
...
...
@@ -16,12 +18,16 @@ SRCT Bookshare • {{ listing.title }} • Edit
<div
class=
"row"
>
<div
class=
"col-md-8 col-md-offset-2"
>
<div
class=
"panel panel-default"
>
<div
class=
"panel-heading"
>
<form
action=
""
method=
"post"
>
{% csrf_token %}
{{ form.as_p }}
<input
type=
"submit"
value=
"Update"
class=
"btn btn-primary"
/>
<input
type=
"cancel"
value=
"Never Mind"
class=
"btn btn-default"
onclick=
"history.back()"
/>
</form>
<div
class=
"panel-body"
>
<div
class=
"row"
>
<div
class=
"col-md-10 col-md-offset-1"
>
<form
action=
""
method=
"post"
>
{% csrf_token %}
{{ 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>
</div>
</div>
</div>
</div>
</div>
...
...
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