<commit_before>extends ../layout/section

block left
  progressbar(step='2')

  div(class='neighborhoods')

    div(ng-show='showLoading')
      .loading-small
        img(src='img/loading-lite.gif')

    div(ng-show='showError')
      span.error An error occurred! Please try again later.

    div(ng-show='showNeighborhoods')
      div(ng-show='neighborhoods.length <= 0')
          span.error No results found for query '{{lastSearch}}'
      div(ng-show='neighborhoods.length > 0')
        h2 Select a neighborhood
        search-result(ng-repeat='neighborhood in neighborhoods', result='neighborhood', selected='selected', select='select(neighborhood)')
          span {{ result.get('name') }}
          button(ng-click='select(neighborhood)') Select
        search-result(result='city', selected='selected', select='select(city)')
          span Any neighborhood
          button(ng-click='select(city)') Select

  navigation(back='/#/section/30', next='/#/section/45')

block right
  google-map(map='map', map-id='map')
<commit_msg>Fix neighborhood listing on step 41. Closes #92.<commit_after>extends ../layout/section

block left
  progressbar(step='2')

  div(class='neighborhoods')

    div(ng-show='showLoading')
      .loading-small
        img(src='img/loading-lite.gif')

    div(ng-show='showError')
      span.error An error occurred! Please try again later.

    div(ng-show='showNeighborhoods')
      div(ng-show='neighborhoods.length <= 0')
          span.error No results found for query '{{lastSearch}}'
      div(ng-show='neighborhoods.length > 0')
        h2 Select a neighborhood
        search-result(ng-repeat='neighborhood in neighborhoods', result='neighborhood', selected='selected', select='select(neighborhood)')
          span {{ neighborhood.get('name') }}
          button(ng-click='select(neighborhood)') Select
        search-result(result='city', selected='selected', select='select(city)')
          span Any neighborhood
          button(ng-click='select(city)') Select

  navigation(back='/#/section/30', next='/#/section/45')

block right
  google-map(map='map', map-id='map')

{'fraction_non_alphanumeric': 0.15431807456347332, 'fraction_numerical': 0.009438414346389807, 'mean_word_length': 3.5493562231759657, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '6112500', 'n_tokens_mistral': 654, 'n_tokens_neox': 608, 'n_words': 123}