Skip to content

Commit

Permalink
Merge pull request lingthio#81 from DimensionSoftware/master
Browse files Browse the repository at this point in the history
adds proper bootstrap classes to <input>
  • Loading branch information
lingthio committed Aug 6, 2015
2 parents 49b5643 + 9684e13 commit e111825
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flask_user/templates/flask_user/_macros.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
{% macro render_submit_field(field, label=None, tabindex=None) -%}
{% if not label %}{% set label=field.label.text %}{% endif %}
{#<button type="submit" class="form-control btn btn-default btn-primary">{{label}}</button>#}
<input type="submit" value="{{label}}"
<input type="submit" class="btn btn-default btn-primary" value="{{label}}"
{% if tabindex %}tabindex="{{ tabindex }}"{% endif %}
>
{%- endmacro %}

0 comments on commit e111825

Please sign in to comment.