<commit_before>{% extends "layout.html" %}

{% block title %}Use a QR code{% endblock %}

{% block head %}
{{ super() }}
<style type="text/css">
    #show-barcode, input[type="submit"] {
        font-size: 150%;
    }
    #used {
        margin-right: 1em;
    }
    #amount_saved {
        width: 4em;
    }
    #submit {
        margin-left: 1em;
    }
</style>
{% endblock %}

{% block body %}

<p>You're using {{ use.qr_code.registrant }}'s QR code.
<b>We just logged a use of it; if you don't actually use the card, cancel it below.</b>
</p>

<p><a href="https://chipotle.com/chiptopia-barcode?barcode={{ use.qr_code.barcode }}" class="button" id="show-barcode">Show the QR code</a></p>

<p>The phone number is {{ use.qr_code.phone }} if they ask for that instead.</p>

<p><b>Come back here</b> to confirm if you used it or not, and if you redeemed a free meal:</p>

<form action="{{ url_for('use_confirm', use_id=use.id, redeemed_free=0) }}" method="POST">
  <input type="submit" value="I paid for my meal" />
</form>
<form action="{{ url_for('use_confirm', use_id=use.id, redeemed_free=1) }}" method="POST">
  <input type="submit" value="I got a free meal" />
</form>
<form action="{{ url_for('use_cancel', use_id=use.id) }}" method="POST">
  <input type="submit" value="I didn't actually use the code" />
</form>

{% endblock %}<commit_msg>some rewording<commit_after>{% extends "layout.html" %}

{% block title %}Use a QR code{% endblock %}

{% block head %}
{{ super() }}
<style type="text/css">
    #show-barcode, input[type="submit"] {
        font-size: 150%;
    }
    #used {
        margin-right: 1em;
    }
    #amount_saved {
        width: 4em;
    }
    #submit {
        margin-left: 1em;
    }
</style>
{% endblock %}

{% block body %}

<p>You're using {{ use.qr_code.registrant }}'s QR code.
<b>(We just logged a use; if you don't actually use it, cancel below.)</b>
</p>

<p><a href="https://chipotle.com/chiptopia-barcode?barcode={{ use.qr_code.barcode }}" class="button" id="show-barcode">Show the QR code</a></p>

<p>The phone number is {{ use.qr_code.phone }} if they ask for that instead.</p>

<p><b>Come back here</b> to confirm if you used the card, and whether you got a free meal (which still counts as a use!):</p>

<form action="{{ url_for('use_confirm', use_id=use.id, redeemed_free=0) }}" method="POST">
  <input type="submit" value="I paid for my meal" />
</form>
<form action="{{ url_for('use_confirm', use_id=use.id, redeemed_free=1) }}" method="POST">
  <input type="submit" value="I got a free meal" />
</form>
<form action="{{ url_for('use_cancel', use_id=use.id) }}" method="POST">
  <input type="submit" value="I didn't actually use the code" />
</form>

{% endblock %}
{'fraction_non_alphanumeric': 0.19270449521002211, 'fraction_numerical': 0.0058953574060427415, 'mean_word_length': 3.771528998242531, 'pattern_counts': {'":': 0, '<': 53, '<?xml version=': 0, '>': 53, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6177673', 'n_tokens_mistral': 1026, 'n_tokens_neox': 967, 'n_words': 274}