Skip to content

Commit

Permalink
added section tags form form. added header for outputs.
Browse files Browse the repository at this point in the history
  • Loading branch information
jacksonwalters committed Feb 26, 2021
1 parent 5001e3a commit 2e5734f
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions flask/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,9 @@ <h1>SCOTUS v. Public Opinion (pre-release)</h1>
{% endif %}
{% endwith %}
</section>
<!-- form for user to input keywords -->
<form action="" method="post" novalidate>
<!-- form for user to input keywords -->
<section>
<form action="" method="post" novalidate>
{{ form.hidden_tag() }}
<div class="row gtr-uniform">
<div class="col-6">{{ form.word1(size=16) }}</div>
Expand Down Expand Up @@ -103,10 +104,11 @@ <h1>SCOTUS v. Public Opinion (pre-release)</h1>
</ul>
</div>
</form>

</section>

<!-- flash the scotus output -->
<section>
<h2>SCOTUS Cases</h2>
{% with scotus_outputs = get_flashed_messages(category_filter=["scotus_output"]) %}
{% if scotus_outputs %}
<ol>
Expand All @@ -120,6 +122,7 @@ <h1>SCOTUS v. Public Opinion (pre-release)</h1>

<!-- flash the public output -->
<section>
<h2>Public Opinion Questions</h2>
{% with public_outputs = get_flashed_messages(category_filter=["public_output"]) %}
{% if public_outputs %}
<ol>
Expand Down

0 comments on commit 2e5734f

Please sign in to comment.