<commit_before>{% extends "places/base.html" %}{% load portal_misc %}{% load molly_apps_search %}

{% block content %}


{# Favourites List (if exists) #}
{% if preferences.maps.favourites %}
<div class="section">
  <h2>Favourites</h2>
  <ul>
    {% for entity_ref in preferences.maps.favourites %}
      {% with entity_ref|get_entity as entity %}
        <li><a href="{{ entity.get_absolute_url }}">{{ entity.title }}</a></li>
      {% endwith %}
    {% endfor %}
  </ul>
</div>
{% endif %}
{# End Favourites List #}



{# Places Search #}
{% search_form %}
<form method="get" action="{% url search:index %}">
    <!-- Doing the devil's work below: couldn't get a CSS design to work with Blackberry 8900 so using Tables as a last resort. <NAME> -->
<h2 class="invisible">Search Places</h2>    
<table class="search"><tbody>
        <tr><td>
                <label style="display:none;" for="id_query">Search Places Box</label>
                {{ search_form.query }}
        </td><td>
                <input type="hidden" name="application" value="places" title="Search Places" />
                {% ifequal style_group "groups-dumb" %}
                    <button type="submit">Go!</button>
                {% else %}
                	<input type="image" src="{{ MEDIA_URL }}site/png/new/buttons/search-button.png" title="Search" />
                {% endifequal %}
        </td></tr>    
        <tr><td>
                <p class="help-bubble top">Search by place name, bus stop number e.g. E7 or 69323498 or postcode</p>
        </td><td></td></tr></tbody>
</table>
</form>
{# End Places Search #}
  
<commit_msg>Delete old favourites list<commit_after>{% extends "places/base.html" %}{% load portal_misc %}{% load molly_apps_search %}

{% block content %}

{# Places Search #}
{% search_form %}
<form method="get" action="{% url search:index %}">
    <!-- Doing the devil's work below: couldn't get a CSS design to work with Blackberry 8900 so using Tables as a last resort. <NAME> -->
<h2 class="invisible">Search Places</h2>    
<table class="search"><tbody>
        <tr><td>
                <label style="display:none;" for="id_query">Search Places Box</label>
                {{ search_form.query }}
        </td><td>
                <input type="hidden" name="application" value="places" title="Search Places" />
                {% ifequal style_group "groups-dumb" %}
                    <button type="submit">Go!</button>
                {% else %}
                	<input type="image" src="{{ MEDIA_URL }}site/png/new/buttons/search-button.png" title="Search" />
                {% endifequal %}
        </td></tr>    
        <tr><td>
                <p class="help-bubble top">Search by place name, bus stop number e.g. E7 or 69323498 or postcode</p>
        </td><td></td></tr></tbody>
</table>
</form>
{# End Places Search #}
  

{'fraction_non_alphanumeric': 0.17287420941672524, 'fraction_numerical': 0.011243851018973999, 'mean_word_length': 2.484700122399021, 'pattern_counts': {'":': 0, '<': 73, '<?xml version=': 0, '>': 73, 'https://': 0, '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': '3511590', 'n_tokens_mistral': 966, 'n_tokens_neox': 860, 'n_words': 224}