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
92790185
Commit
92790185
authored
May 21, 2019
by
Bryan BRANCOTTE
Browse files
Adding a full width form title
parent
437e01c3
Pipeline
#11972
passed with stage
in 49 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
basetheme_bootstrap/templates/registration/small_form_host.html
View file @
92790185
...
...
@@ -7,6 +7,11 @@
{% block page_title %}{{ page_title|default:title }}{% endblock %}
{% block content %}
{%if full_width_form_title%}
<div
class=
"col-12 col-xs-12"
>
<h2>
{{full_width_form_title}}
</h2>
</div>
{%endif%}
<div
class=
"col-12 col-xs-12 {%if not medium_width%}col-sm-10 col-sm-offset-1 offset-sm-1 col-md-8 col-md-offset-2 offset-md-2 col-lg-6 col-lg-offset-3 offset-lg-3 col-xl-4 col-xl-offset-4 offset-xl-4 col-xxl-2 col-xxl-offset-5{%endif%}{%if medium_width%}col-md-10 col-md-offset-1 offset-md-1 col-lg-8 col-lg-offset-2 offset-lg-2 col-xl-6 col-xl-offset-3 offset-xl-3 col-xxl-4 col-xxl-offset-4 col-xxxl-2 col-xxxl-offset-5{%endif%}"
>
{%if form_title%}
<h2>
{{form_title}}
</h2>
{%endif%}
<form
method=
"post"
enctype=
"multipart/form-data"
>
...
...
setup.py
View file @
92790185
...
...
@@ -7,7 +7,7 @@ readme = open('README.rst').read()
setup
(
name
=
'django-basetheme-bootstrap'
,
version
=
'0.1.
2
'
,
version
=
'0.1.
3
'
,
description
=
'Django Basetheme Bootstrap'
,
long_description
=
readme
,
author
=
'Bryan Brancotte'
,
...
...
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