Skip to content

Commit

Permalink
Remove hint submission box when hunt is public
Browse files Browse the repository at this point in the history
  • Loading branch information
dlareau committed Apr 30, 2020
1 parent 97a6472 commit 6eb0002
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions huntserver/templates/puzzle_hint.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,12 @@
<div class='col-md-12 info'>
<div class='leftinfo'>
<h1> Hints for P{{ puzzle.puzzle_number }} - {{ puzzle.puzzle_name}} </h1>
{% if not puzzle.hunt.is_public %}
<h3 id="num_available_hints">You currently have {{team.num_available_hints}} available hint{{team.num_available_hints|pluralize}} for this hunt</h3>
{% endif %}
</div>
</div>
{% if not puzzle.hunt.is_public %}
<div id='submit_container' class="col-md-10 col-md-offset-1">
<fieldset id='submit'>
<legend>Request a Hint</legend>
Expand All @@ -34,6 +37,7 @@ <h3 id="num_available_hints">You currently have {{team.num_available_hints}} ava
</form>
</fieldset>
</div>
{% endif %}
<br>
<div class="col-md-12">
<h3>Previous Hint Requests: </h3>
Expand Down

0 comments on commit 6eb0002

Please sign in to comment.