Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Bryan BRANCOTTE
django-basetheme-bootstrap
Commits
102b6577
Commit
102b6577
authored
Sep 26, 2019
by
Bryan BRANCOTTE
Browse files
fixing btn_classes customization
parent
41ecb968
Changes
2
Hide whitespace changes
Inline
Side-by-side
basetheme_bootstrap/templates/basetheme_bootstrap/form_host.html
View file @
102b6577
...
...
@@ -33,7 +33,7 @@
<a
role=
"button"
class=
"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 btn-primary
{{btn_classes
}}"
type=
"submit"
>
{{ submit_text|default:"OK" }}
</button>
<button
class=
"
{{btn_classes|default:'
btn btn-primary
'
}}"
type=
"submit"
>
{{ submit_text|default:"OK" }}
</button>
</div>
</form>
</div>
...
...
basetheme_bootstrap/templates/registration/small_form_host.html
View file @
102b6577
...
...
@@ -17,7 +17,7 @@
{%if form%}{{ form|crispy }}{%endif%}
{%if cancel_url%}
<a
role=
"button"
class=
"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 btn-primary
{{btn_classes
}}"
type=
"submit"
>
{{ submit_text|default:"OK" }}
</button>
<button
class=
"
{{btn_classes|default:'
btn btn-primary
'
}}"
type=
"submit"
>
{{ submit_text|default:"OK" }}
</button>
</div>
</form>
</div>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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