Skip to content

Commit

Permalink
Added support for legacy support in sample app.
Browse files Browse the repository at this point in the history
  • Loading branch information
mbr committed Jun 25, 2016
1 parent eee0a80 commit 1655418
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion sample_app/templates/signup.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ <h1>Signup for our awesome service</h1>
<p>Note: Your data isn't going anywhere.</p>
</div>
<div class="col-md-12">
{{form|render_form()}}
{% if request.args.get('legacy') -%}
{{wtf.quick_form(form)}}
{%- else -%}
{{form|render_form()}}
{%- endif %}
</div>
{%- endblock %}

0 comments on commit 1655418

Please sign in to comment.