{# https://gist.github.com/bearz/7394681 #} {% macro bs_form(form, action, opts, method='post') -%} {% from 'bs_form_body.htm' import bs_form_body with context %} {% if not opts.class %} {% do opts.update({'class': ''}) %} {% endif %}