diff --git a/basetheme_bootstrap/templates/registration/small_form_host.html b/basetheme_bootstrap/templates/registration/small_form_host.html index 3ecccc3ca6836ef8ccdee7cb59ca21f92fcb6c43..73a94b198d2252dd07b9dd7e0edb253ebd9ec112 100644 --- a/basetheme_bootstrap/templates/registration/small_form_host.html +++ b/basetheme_bootstrap/templates/registration/small_form_host.html @@ -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> diff --git a/setup.py b/setup.py index 138243b8152395e142d4e5828e4792698b77201c..a430b6c6262e6addf677899d9a6aa63f28b8f402 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ readme = open('README.rst').read() setup( name='django-basetheme-bootstrap', - version='0.2.25', + version='0.2.26', description='Django Basetheme Bootstrap', long_description=readme, author='Bryan Brancotte',