<commit_before><head>
  <title>Breaking Trail - Backcountry</title>
</head>

<body>
    <div class="navbar">
        <div class="navbar-inner">    
            <a class="brand" href="/"><img src="images/BreakTrail_Logo.png" width="60" height="60"> Breaking Trail</a>
            <div class="nav-right clearfix pull-right span7">
                {{#if currentUser}}
                    <a class="btn pull-right create-event-btn" href="/activity"><i class="icon-plus"></i>Create</a>
                    <a href="/profile"><img class="pull-right nav-user-img" src="{{currentUser.services.google.picture}}" width="60" height="60"></a>
                {{/if}}
                <div class="pull-right login-buttons-wrap">
                    {{> loginButtons}}
                </div>
                {{#if currentUser}}
                    <p class="pull-right hello-user">Hello, </p>
                {{else}}
                    <p class="pull-right hello-user">Sign in with a Google account to get started.</p>
                {{/if}}
            </div>
        </div>
    </div>
</body>

<template name="home">
    <div class="container-fluid">
        <div> You are home </div>
    </div>
</template>

<template name="activity">
    <div class="container-fluid">
        <form class="new-activity-form" id="new-activity-form">
            <div class="new-activity-section activity-select-wrap">
                <label for="activity-type">Activity</label>
                <select id="activity-type">
                    <option>Biking</option>
                    <option>Skiing</option>
                    <option>Running</option>
                </select>
            </div>
            <div class="new-activity-section skill-level-btns-wrap clearfix">
                <p class="new-activity-heading" for="activity-skill">Your Skill Level</p>
                <input class="skill-radio" type="radio" name="skill-level" value="Beginner" id="skill-beginner">
                <label class="skill-radio-label beginner" for="skill-beginner">Beginner</label>
                <input class="skill-radio" type="radio" name="skill-level" value="Intermediate" id="skill-intermediate">
                <label class="skill-radio-label intermediate" for="skill-intermediate">Intermediate</label>
                <input class="skill-radio" type="radio" name="skill-level" value="Expert" id="skill-expert">
                <label class="skill-radio-label expert" for="skill-expert">Expert</label>
            </div>
            <div class="new-activity-section name-input-wrap">
                <label class="new-activity-heading" for="activity-name">Name of Event</label>
                <input type="text" id="activity-name" value="">
            </div>
            <div class="new-activity-section details-input-wrap">
                <label class="new-activity-heading" for="activity-name">Details</label>
                <textarea id="activity-details" value=""></textarea>
            </div>
            <div class="new-activity-section date-time-input-wrap">
                <label class="new-activity-heading" for="activity-date">Date</label>
                <input type="text" class="form-control" id="activity-date">
                <label class="new-activity-heading" for="activity-time">Time</label>
                <select name="time" id="activity-time">
                    <option value="5:00 AM">5:00 AM</option>
                    <option value="6:00 AM">6:00 AM</option>
                    <option value="7:00 AM">7:00 AM</option>
                    <option value="8:00 AM">8:00 AM</option>
                    <option value="9:00 AM">9:00 AM</option>
                    <option value="10:00 AM">10:00 AM</option>
                    <option value="11:00 AM">11:00 AM</option>
                    <option value="12:00 PM">12:00 PM</option>
                    <option value="1:00 PM">1:00 PM</option>
                    <option value="2:00 PM">2:00 PM</option>
                    <option value="3:00 PM">3:00 PM</option>
                    <option value="4:00 PM">4:00 PM</option>
                    <option value="5:00 PM">5:00 PM</option>
                    <option value="6:00 PM">6:00 PM</option>
                    <option value="7:00 PM">7:00 PM</option>
                    <option value="8:00 PM">8:00 PM</option>
                    <option value="9:00 PM">9:00 PM</option>
                    <option value="10:00 PM">10:00 PM</option>
                    <option value="11:00 PM">11:00 PM</option>
                </select>
                <label class="new-activity-heading" for="activity-duration">Duration</label>
                <input type="text" id="activity-duration">
            </div>
            <input id="create-event-btn" type="submit" value="Create Event">
        </form>
    </div>
</template>

<template name="activities">
    <div class="container-fluid">
    <h2>ALL ACTIVITIES</h2>
        <div class="row-fluid">
            <ul class="all-activities-list span7">
                {{#each activities}}
                    <li class="single-activity" data-id="{{_id}}">
                        <div class="single-activity-skill {{skillLevel}}"></div>
                        <div class="single-activity-info-wrap">
                            <p id="show-event-btn">Name: {{name}}</p>
                            <p>Date: {{date}}</p>
                            <p>Time: {{time}}</p>
                            <p>Duration: {{duration}}</p>
                            <p>Activity: {{activity}}</p>
                            <p>Details: {{details}}</p>
                            <p data-placement="top" title="{{creator.name}}">Creator: <img class="creator-img" src="{{creator.image}}" width="40" height="40"></p>
                            <p>Users:
                                {{#each users}}
                                    <span data-placement="top" title="{{name}}"><img class="creator-img" src="{{image}}" width="40" height="40"></span>
                                {{/each}}
                            </p>
                        </div>
                    </li>
                    <input class="btn btn-success" id="join-event-btn" type="submit" value="Join Event">
                {{/each}}
            </ul>
        </div>
    </div>
</template>

<template name="details">
    <div class="container-fluid">
            {{#with details}}
                <div class="single-activity" data-id="{{_id}}">
                    <p>Name: {{name}}</p>
                    <p>Date: {{date}}</p>
                    <p>Time: {{time}}</p>
                    <p>Duration: {{duration}}</p>
                    <p>Activity: {{activity}}</p>
                    <p>Skill Level: {{skillLevel}}</p>
                    <p>Details: {{details.details}}</p>
                    <p data-placement="top" title="{{creator.name}}">Creator: <img class="creator-img" src="{{creator.image}}" width="40" height="40"></p>
                    <p>Users:
                        {{#each users}}
                            <span data-placement="top" title="{{name}}"><img class="creator-img" src="{{image}}" width="40" height="40"></span>
                        {{/each}}
                    </p>
                </div>
                <input class="btn btn-success" id="join-event-btn" type="submit" value="Join Event">
            {{/with}}
    </div>
</template>

<template name="profile">
    <div class="container-fluid">
        <div> Profile goes here.</div>
    </div>
</template>

<template name="loginMessage">
    <div class="container-fluid">
        <h2 class="logged-out-mesasge">Welcome to Breaking Trail</h2>
        <h4 class="logged-out-mesasge">Meet fellow Backcountry employees, make new friends, and get outside.</h4>
        <h4 class="logged-out-mesasge">Sign n with a Google account to view activities to join, or to create your own event.</h4>
        <img style="width: 100%; margin-top: 40px;" src="http://www.backcountry.com/wp-content/uploads/2014/06/postridebeveragev1_large.jpg">
    </div>
</template><commit_msg>fix single activity submit<commit_after><head>
  <title>Breaking Trail - Backcountry</title>
</head>

<body>
    <div class="navbar">
        <div class="navbar-inner">    
            <a class="brand" href="/"><img src="images/BreakTrail_Logo.png" width="60" height="60"> Breaking Trail</a>
            <div class="nav-right clearfix pull-right span7">
                {{#if currentUser}}
                    <a class="btn pull-right create-event-btn" href="/activity"><i class="icon-plus"></i>Create</a>
                    <a href="/profile"><img class="pull-right nav-user-img" src="{{currentUser.services.google.picture}}" width="60" height="60"></a>
                {{/if}}
                <div class="pull-right login-buttons-wrap">
                    {{> loginButtons}}
                </div>
                {{#if currentUser}}
                    <p class="pull-right hello-user">Hello, </p>
                {{else}}
                    <p class="pull-right hello-user">Sign in with a Google account to get started.</p>
                {{/if}}
            </div>
        </div>
    </div>
</body>

<template name="home">
    <div class="container-fluid">
        <div> You are home </div>
    </div>
</template>

<template name="activity">
    <div class="container-fluid">
        <form class="new-activity-form" id="new-activity-form">
            <div class="new-activity-section activity-select-wrap">
                <label for="activity-type">Activity</label>
                <select id="activity-type">
                    <option>Climb</option>
                    <option>Fish</option>
                    <option>Hike</option>
                    <option>Mountain Bike</option>
                    <option>Road Bike</option>
                    <option>Run</option>
                    <option>Ski</option>
                    <option>Snowboard</option>
                    <option>Other</option>
                </select>
            </div>
            <div class="new-activity-section skill-level-btns-wrap clearfix">
                <p class="new-activity-heading" for="activity-skill">Your Skill Level</p>
                <input class="skill-radio" type="radio" name="skill-level" value="Beginner" id="skill-beginner">
                <label class="skill-radio-label beginner" for="skill-beginner">Beginner</label>
                <input class="skill-radio" type="radio" name="skill-level" value="Intermediate" id="skill-intermediate">
                <label class="skill-radio-label intermediate" for="skill-intermediate">Intermediate</label>
                <input class="skill-radio" type="radio" name="skill-level" value="Expert" id="skill-expert">
                <label class="skill-radio-label expert" for="skill-expert">Expert</label>
            </div>
            <div class="new-activity-section name-input-wrap">
                <label class="new-activity-heading" for="activity-name">Name of Event</label>
                <input type="text" id="activity-name" value="">
            </div>
            <div class="new-activity-section details-input-wrap">
                <label class="new-activity-heading" for="activity-name">Details</label>
                <textarea id="activity-details" value=""></textarea>
            </div>
            <div class="new-activity-section date-time-input-wrap">
                <div class="date-select-wrap">
                    <label class="new-activity-heading" for="activity-date">Date</label>
                    <input type="text" class="form-control" id="activity-date">
                </div>
                <div class="time-select-wrap">
                    <label class="new-activity-heading" for="activity-time">Time</label>
                    <select name="time" id="activity-time">
                        <option value="5:00 AM">5:00 AM</option>
                        <option value="6:00 AM">6:00 AM</option>
                        <option value="7:00 AM">7:00 AM</option>
                        <option value="8:00 AM">8:00 AM</option>
                        <option value="9:00 AM">9:00 AM</option>
                        <option value="10:00 AM">10:00 AM</option>
                        <option value="11:00 AM">11:00 AM</option>
                        <option value="12:00 PM">12:00 PM</option>
                        <option value="1:00 PM">1:00 PM</option>
                        <option value="2:00 PM">2:00 PM</option>
                        <option value="3:00 PM">3:00 PM</option>
                        <option value="4:00 PM">4:00 PM</option>
                        <option value="5:00 PM">5:00 PM</option>
                        <option value="6:00 PM">6:00 PM</option>
                        <option value="7:00 PM">7:00 PM</option>
                        <option value="8:00 PM">8:00 PM</option>
                        <option value="9:00 PM">9:00 PM</option>
                        <option value="10:00 PM">10:00 PM</option>
                        <option value="11:00 PM">11:00 PM</option>
                    </select>
                </div>
                <label class="new-activity-heading" for="activity-duration">Duration</label>
                <input type="text" id="activity-duration">
            </div>
            <input id="create-event-btn" type="submit" value="Create Event">
        </form>
    </div>
</template>

<template name="activities">
    <div class="container-fluid">
    <h2>ALL ACTIVITIES</h2>
        <div class="row-fluid">
            <ul class="all-activities-list span7">
                {{#each activities}}
                    <li class="single-activity" data-id="{{_id}}">
                        <div class="single-activity-skill {{skillLevel}}"></div>
                        <div class="single-activity-info-wrap">
                            <p id="show-event-btn">Name: {{name}}</p>
                            <p>Date: {{date}}</p>
                            <p>Time: {{time}}</p>
                            <p>Duration: {{duration}}</p>
                            <p>Activity: {{activity}}</p>
                            <p>Details: {{details}}</p>
                            <p data-placement="top" title="{{creator.name}}">Creator: <img class="creator-img" src="{{creator.image}}" width="40" height="40"></p>
                            <p>Users:
                                {{#each users}}
                                    <span data-placement="top" title="{{name}}"><img class="creator-img" src="{{image}}" width="40" height="40"></span>
                                {{/each}}
                            </p>
                        </div>
                    </li>
                    <input class="btn btn-success" id="join-event-btn" type="submit" value="Join Event">
                {{/each}}
            </ul>
        </div>
    </div>
</template>

<template name="details">
    <div class="container-fluid">
            {{#with details}}
                <div class="single-activity" data-id="{{_id}}">
                    <p>Name: {{name}}</p>
                    <p>Date: {{date}}</p>
                    <p>Time: {{time}}</p>
                    <p>Duration: {{duration}}</p>
                    <p>Activity: {{activity}}</p>
                    <p>Skill Level: {{skillLevel}}</p>
                    <p>Details: {{details.details}}</p>
                    <p data-placement="top" title="{{creator.name}}">Creator: <img class="creator-img" src="{{creator.image}}" width="40" height="40"></p>
                    <p>Users:
                        {{#each users}}
                            <span data-placement="top" title="{{name}}"><img class="creator-img" src="{{image}}" width="40" height="40"></span>
                        {{/each}}
                    </p>
                </div>
                <input class="btn btn-success" id="join-event-btn" type="submit" value="Join Event">
            {{/with}}
    </div>
</template>

<template name="profile">
    <div class="container-fluid">
        <div> Profile goes here.</div>
    </div>
</template>

<template name="loginMessage">
    <div class="container-fluid">
        <h2 class="logged-out-mesasge">Welcome to Breaking Trail</h2>
        <h4 class="logged-out-mesasge">Meet fellow Backcountry employees, make new friends, and get outside.</h4>
        <h4 class="logged-out-mesasge">Sign n with a Google account to view activities to join, or to create your own event.</h4>
        <img style="width: 100%; margin-top: 40px;" src="http://www.backcountry.com/wp-content/uploads/2014/06/postridebeveragev1_large.jpg">
    </div>
</template>
{'fraction_non_alphanumeric': 0.16745579862151633, 'fraction_numerical': 0.020377584656877435, 'mean_word_length': 1.7105263157894737, 'pattern_counts': {'":': 0, '<': 439, '<?xml version=': 0, '>': 441, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3811157', 'n_tokens_mistral': 4892, 'n_tokens_neox': 4554, 'n_words': 910}