Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
bookshare
Commits
bf8874f5
Commit
bf8874f5
authored
Apr 16, 2015
by
Daniel W Bond
Browse files
changed forms to standard forms (non-crispy)
parent
ad1dc1e4
Changes
3
Show whitespace changes
Inline
Side-by-side
bookshare/trades/templates/listing_cancel.html
View file @
bf8874f5
...
...
@@ -15,11 +15,12 @@ SRCT Bookshare • {{ listing.title }} • Cancel
</div>
</div>
{% load crispy_forms_tags %}
<div
class=
"row"
>
<div
class=
"col-md-8 col-md-offset-2 text-center"
>
{% crispy my_form %}
<form
action=
""
method=
"post"
>
{% csrf_token %}
{{ form.as_p }}
<input
type=
"submit"
value=
"Cancel Your Listing"
class=
"btn btn-primary"
/>
<input
type=
"cancel"
value=
"Never Mind"
class=
"btn btn-default"
onclick=
"history.back()"
/>
</div>
</div>
{% endblock %}
bookshare/trades/templates/listing_reopen.html
View file @
bf8874f5
...
...
@@ -15,11 +15,12 @@ SRCT Bookshare • {{ listing.title }} • Reopen
</div>
</div>
{% load crispy_forms_tags %}
<div
class=
"row"
>
<div
class=
"col-md-8 col-md-offset-2 text-center"
>
{% crispy my_form %}
<form
action=
""
method=
"post"
>
{% csrf_token %}
{{ form.as_p }}
<input
type=
"submit"
value=
"Reopen Your Listing"
class=
"btn btn-primary"
/>
<input
type=
"cancel"
value=
"Never Mind"
class=
"btn btn-default"
onclick=
"history.back()"
/>
</div>
</div>
{% endblock %}
bookshare/trades/templates/listing_unsell.html
View file @
bf8874f5
...
...
@@ -15,11 +15,12 @@ SRCT Bookshare • {{ listing.title }} • Cancel Sale
</div>
</div>
{% load crispy_forms_tags %}
<div
class=
"row"
>
<div
class=
"col-md-8 col-md-offset-2 text-center"
>
{% crispy my_form %}
<form
action=
""
method=
"post"
>
{% csrf_token %}
{{ form.as_p }}
<input
type=
"submit"
value=
"Back on the Market"
class=
"btn btn-primary"
/>
<input
type=
"cancel"
value=
"Never Mind"
class=
"btn btn-default"
onclick=
"history.back()"
/>
</div>
</div>
{% endblock %}
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