<commit_before>{% extends 'RockITTechgamesBundle::layout.html.twig' %}

{% block content %}

<div class="row">
    <div class="col-md-4">
        <ul class="nav nav-sidebar">
            <li ><a href="{{path('user_edit', {'userId':user.getId()})}}?t=n">Name and Details</a></li>
            <li ><a href="{{path('user_edit', {'userId':user.getId()})}}?t=a">Account Settings</a></li>
            <li class="active"><a href="{{path('user_edit', {'userId':user.getId()})}}?t=p">Profile</a></li>
            <li><a href="{{path('user_edit', {'userId':user.getId()})}}?t=schedule">Schedule</a></li>
        </ul>
    </div>
    
    <div class="col-md-8">

        {% if message %}
            <div class="alert alert-danger" role="alert">{{ message }}</div>
        {% endif %}

        <form class="form-horizontal" role="form" method="post">

            <div class="form-group">
                <label for="photo" class="col-sm-2 control-label">Photo</label>
                <div class="col-sm-10">
                    <img src="http://placehold.it/140x140" />
                    <a hre="#" class="btn btn-default">Change Photo</a>
                </div>
            </div>

            <div class="form-group">
                <label for="school" class="col-sm-2 control-label">School</label>
                <div class="col-sm-10">
                    <input type="text" class="form-control" id="school" name="school" value="{{user.getSchool()}}">
                </div>
            </div>
<commit_msg>added link to gravatar<commit_after>{% extends 'RockITTechgamesBundle::layout.html.twig' %}

{% block content %}

<div class="row">
    <div class="col-md-4">
        <ul class="nav nav-sidebar">
            <li ><a href="{{path('user_edit', {'userId':user.getId()})}}?t=n">Name and Details</a></li>
            <li ><a href="{{path('user_edit', {'userId':user.getId()})}}?t=a">Account Settings</a></li>
            <li class="active"><a href="{{path('user_edit', {'userId':user.getId()})}}?t=p">Profile</a></li>
            <li><a href="{{path('user_edit', {'userId':user.getId()})}}?t=schedule">Schedule</a></li>
        </ul>
    </div>
    
    <div class="col-md-8">

        {% if message %}
            <div class="alert alert-danger" role="alert">{{ message }}</div>
        {% endif %}

        <form class="form-horizontal" role="form" method="post">

            <div class="form-group">
                <label for="photo" class="col-sm-2 control-label">Photo</label>
                <div class="col-sm-10">
                    <img src="{{ user.avatar(140) }}" alt="{{ user.username }}">
                    {#<img src="http://placehold.it/140x140" />#}
                    <a href="https://en.gravatar.com/emails/" class="btn btn-default" target="_blank">Change Photo</a>
                </div>
            </div>

            <div class="form-group">
                <label for="school" class="col-sm-2 control-label">School</label>
                <div class="col-sm-10">
                    <input type="text" class="form-control" id="school" name="school" value="{{user.getSchool()}}">
                </div>
            </div>

{'fraction_non_alphanumeric': 0.22006986344871388, 'fraction_numerical': 0.009844395046046363, 'mean_word_length': 2.240740740740741, 'pattern_counts': {'":': 0, '<': 86, '<?xml version=': 0, '>': 86, 'https://': 1, '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': '5529228', 'n_tokens_mistral': 1034, 'n_tokens_neox': 980, 'n_words': 169}