Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Bryan BRANCOTTE
django-basetheme-bootstrap
Commits
42e87b5c
Commit
42e87b5c
authored
Oct 21, 2019
by
Bryan BRANCOTTE
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Customizable css classes for cancel button
parent
8c05665c
Pipeline
#17337
passed with stage
in 25 seconds
Changes
2
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
basetheme_bootstrap/templates/registration/small_form_host.html
...eme_bootstrap/templates/registration/small_form_host.html
+1
-1
setup.py
setup.py
+1
-1
No files found.
basetheme_bootstrap/templates/registration/small_form_host.html
View file @
42e87b5c
...
...
@@ -22,7 +22,7 @@
<form
method=
"post"
enctype=
"multipart/form-data"
>
{% csrf_token %}
{%if form%}{{ form|crispy }}{%endif%}
{%if cancel_url%}
<a
role=
"button"
class=
"btn btn-primary"
href=
"{{cancel_url}}"
>
{{ cancel_text|default:"Cancel" }}
</a>
{%endif%}
{%if cancel_url%}
<a
role=
"button"
class=
"
{{btn_cancel_classes|default:'
btn btn-primary
'}}
"
href=
"{{cancel_url}}"
>
{{ cancel_text|default:"Cancel" }}
</a>
{%endif%}
<div
class=
"form-class {{btn_container_classes|default:'pull-right'}}"
>
<button
class=
"{{btn_classes|default:'btn btn-primary'}}"
type=
"submit"
>
{{ submit_text|default:"OK" }}
</button>
</div>
...
...
setup.py
View file @
42e87b5c
...
...
@@ -7,7 +7,7 @@ readme = open('README.rst').read()
setup
(
name
=
'django-basetheme-bootstrap'
,
version
=
'0.2.2
5
'
,
version
=
'0.2.2
6
'
,
description
=
'Django Basetheme Bootstrap'
,
long_description
=
readme
,
author
=
'Bryan Brancotte'
,
...
...
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