<commit_before>{% extends 'shared/_base.html' %}

{% load markup gravatar %}

{% block content %}
    <div id="ride">
        <section id="header">
            <header>
                <h1>{{ ride.name }}</h1>

                <h3><b>{{ ride.start_date }} to {{ ride.end_date }}</b></h3>

                <h3>Part of the <a href="{% url 'chapter' ride.chapter.name.lower %}">{{ ride.chapter.name }}</a>
                    chapter</h3>
            </header>
        </section>

        {% if not ride.is_over %}
            <section id="registration">
                <div class="content">
                    <div class="callout">
                        {% if signed_up %}
                            <h2>Good job {{ request.user.first_name }}! You're signed up for this ride!</h2>
                        {% elif ride.spaces_left < 1 %}
                            <h2>Registration for this ride is FULL</h2>
                            <p>
                                Thanks for your interest but this year's ride is fully booked.
                            </p>
                        {% else %}
                            <h2>Register for the {{ ride.name }} ride!</h2>
                            <h2>
                                <a class="btn" href="{% url 'checkout' ride.id %}">Register Now</a>
                            </h2>
                            {% if ride.preregistration_required %}
                                <p>
                                    If you have previously registered for this ride and have received confirmation that
                                    you have been accepted into TechBikers 2014, please click the link to complete your
                                    registration and to pay your rider fees.
                                </p>
                            {% else %}
                                <p>
                                    (only {{ ride.spaces_left }} of {{ ride.rider_capacity }} spaces left)
                                </p>
                            {% endif %}
                        {% endif %}
                    </div>
                </div>
            </section>
        {% endif %}

        <section id="riders">
            <div class="content">
                <h2>The Riders</h2><commit_msg>Show the price on the ride details page.<commit_after>{% extends 'shared/_base.html' %}

{% load markup gravatar %}

{% block content %}
    <div id="ride">
        <section id="header">
            <header>
                <h1>{{ ride.name }}</h1>

                <h3><b>{{ ride.start_date }} to {{ ride.end_date }}</b></h3>

                <h3>Part of the <a href="{% url 'chapter' ride.chapter.name.lower %}">{{ ride.chapter.name }}</a>
                    chapter</h3>
            </header>
        </section>

        {% if not ride.is_over %}
            <section id="registration">
                <div class="content">
                    <div class="callout">
                        {% if signed_up %}
                            <h2>Good job {{ request.user.first_name }}! You're signed up for this ride!</h2>
                        {% elif ride.spaces_left < 1 %}
                            <h2>Registration for this ride is FULL</h2>
                            <p>
                                Thanks for your interest but this year's ride is fully booked.
                            </p>
                        {% else %}
                            <h2>Register for the {{ ride.name }} ride!</h2>
                            <p>There is a  {{ ride.currency|upper }} {{ ride.price|floatformat:2 }} fee for this ride.</p>
                            <h2>
                                <a class="btn" href="{% url 'checkout' ride.id %}">Register Now</a>
                            </h2>
                            {% if ride.preregistration_required %}
                                <p>
                                    If you have previously registered for this ride and have received confirmation that
                                    you have been accepted into TechBikers, please click the link to complete your
                                    registration and to pay your rider fees.
                                </p>
                            {% else %}
                                <p>
                                    (only {{ ride.spaces_left }} of {{ ride.rider_capacity }} spaces left)
                                </p>
                            {% endif %}
                        {% endif %}
                    </div>
                </div>
            </section>
        {% endif %}

        <section id="riders">
            <div class="content">
                <h2>The Riders</h2>
{'fraction_non_alphanumeric': 0.11262870350914057, 'fraction_numerical': 0.008194998949359109, 'mean_word_length': 0.9349593495934959, 'pattern_counts': {'":': 0, '<': 89, '<?xml version=': 0, '>': 87, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 12, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2334799', 'n_tokens_mistral': 1238, 'n_tokens_neox': 1086, 'n_words': 316}