Commit 102b6577 authored by Bryan  BRANCOTTE's avatar Bryan BRANCOTTE

fixing btn_classes customization

parent 41ecb968
......@@ -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>
......
......@@ -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>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment