<commit_before>- if @location != current_member.location
  - content_for :title, "Members near #{@location}"
- else
  - content_for :title, "Members near you"

= link_to "Edit your location", edit_member_registration_path(current_member)

= form_tag(nearby_members_path(current_member), :html => { :method => :get, :class => 'form-horizontal' }) do

  .control-group
    = label_tag :location, "Location", :class => 'control-label'
    .controls
      = text_field_tag :location, @location

  .form-actions
    = submit_tag "Search", :class => 'btn btn-primary'

%ul
  - @nearby_members.each do |member|
    %li
      = link_to(member.login_name, member)
      - if member.location
        , #{@member.location}<commit_msg>Fix bug in nearby members view.<commit_after>- if @location != current_member.location
  - content_for :title, "Members near #{@location}"
- else
  - content_for :title, "Members near you"

= form_tag(nearby_members_path, :method => :get, :class => 'form-inline') do

  .control-group
    = label_tag :location, "Find members near", :class => 'control-label'
    .controls
      = text_field_tag :location, @location

  .form-actions
    = submit_tag "Search", :class => 'btn btn-primary'

= link_to "Edit your location", edit_member_registration_path(current_member)

%ul
  - @nearby_members.each do |member|
    %li
      = link_to(member.login_name, member)
      - if member.location
        , #{member.location}
{'fraction_non_alphanumeric': 0.1369006254343294, 'fraction_numerical': 0.0, 'mean_word_length': 3.784053156146179, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 12, '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': '4492902', 'n_tokens_mistral': 472, 'n_tokens_neox': 458, 'n_words': 111}