<commit_before>%section.node-status
  .row-fluid
    .span6.node-status-dropdown
      %h2=t('.wheelchair_accessibility')
      %div.dropdown
        %a{:'data-toggle' => 'dropdown', class: "dropdown-toggle btn wheelchair #{node_status.wheelchair}", :'data-status' => node_status.wheelchair}
          %span.pull-left.text= t("home.index.popup.form.#{node_status.wheelchair}")
          %i.pull-left.icon-question-sign{'data-toggle' => 'popover', 'data-title' => t("home.index.popup.form.#{node_status.wheelchair}"), 'data-content' => t("wheelmap.what_is.#{node_status.accesibility}"), 'data-trigger' => 'hover'}
          = fa_icon('caret-down', class: 'pull-right')
        %ul.dropdown-menu{'role' => 'menu'}
          - %w{yes limited no}.each do |status|
            %li
              %a{class: "#{status}", :'data-toggle' => 'status', :'data-status' => status }
                %span.wm-checkbox{'class' => ["wheelchair #{status}", (node_status.wheelchair == status ? 'checked' : nil)]}
                  %i.icon-ok
                %span.text= t("home.index.popup.form.#{status}")
                %i.icon-question-sign{'data-toggle' => 'popover', 'data-title' => t("home.index.popup.form.#{status}"), 'data-content' => t("wheelmap.what_is.#{node_status.accesibility}"), 'data-trigger' => 'hover'}

          %li.submit
            %button.btn{:'data-toggle' => 'status-submit', :'data-url' => update_wheelchair_node_url(node_status, :format => :js), disabled: 'disabled'}
              =t('formtastic.labels.save')
    .span6.node-status-dropdown
      %h2=t('.accessible_toilet')
      %div.dropdown
        %a{:'data-toggle' => 'dropdown', class: "dropdown-toggle btn wheelchair #{node_status.wheelchair_toilet}", :'data-status' => node_status.wheelchair_toilet}
          %span.pull-left.text= t("home.index.popup.form.#{node_status.wheelchair_toilet}")
          %i.pull-left.icon-question-sign{'data-toggle' => 'popover', 'data-title' => t("home.index.popup.form.#{node_status.wheelchair_toilet}"), 'data-content' => t("wheelmap.what_is.#{node_status.accesibility}"), 'data-trigger' => 'hover'}
          = fa_icon('caret-down', class: 'pull-right')
        %ul.dropdown-menu{'role' => 'menu'}
          - %w{yes no}.each do |status|
            %li
              %a{class: "#{status}", :'data-toggle' => 'status', :'data-status' => status }
                %span.wm-checkbox{'class' => ["wheelchair #{status}", (node_status.wheelchair_toilet == status ? 'checked' : nil)]}
                  %i.icon-ok
                %span.text= t("home.index.popup.form.#{status}")
                %i.icon-question-sign{'data-toggle' => 'popover', 'data-title' => t("home.index.popup.form.#{status}"), 'data-content' => t("wheelmap.what_is.#{node_status.accesibility}"), 'data-trigger' => 'hover'}

  - node_status.provided_pois.with_wheelchair.each do |premium|
    - next if premium.wheelchair == 'unknown'
    .row-fluid<commit_msg>Hide toilet droptdown as it is not ready yet.<commit_after>%section.node-status
  .row-fluid
    .span6.node-status-dropdown
      %h2=t('.wheelchair_accessibility')
      %div.dropdown
        %a{:'data-toggle' => 'dropdown', class: "dropdown-toggle btn wheelchair #{node_status.wheelchair}", :'data-status' => node_status.wheelchair}
          %span.pull-left.text= t("home.index.popup.form.#{node_status.wheelchair}")
          %i.pull-left.icon-question-sign{'data-toggle' => 'popover', 'data-title' => t("home.index.popup.form.#{node_status.wheelchair}"), 'data-content' => t("wheelmap.what_is.#{node_status.accesibility}"), 'data-trigger' => 'hover'}
          = fa_icon('caret-down', class: 'pull-right')
        %ul.dropdown-menu{'role' => 'menu'}
          - %w{yes limited no}.each do |status|
            %li
              %a{class: "#{status}", :'data-toggle' => 'status', :'data-status' => status }
                %span.wm-checkbox{'class' => ["wheelchair #{status}", (node_status.wheelchair == status ? 'checked' : nil)]}
                  %i.icon-ok
                %span.text= t("home.index.popup.form.#{status}")
                %i.icon-question-sign{'data-toggle' => 'popover', 'data-title' => t("home.index.popup.form.#{status}"), 'data-content' => t("wheelmap.what_is.#{node_status.accesibility}"), 'data-trigger' => 'hover'}

          %li.submit
            %button.btn{:'data-toggle' => 'status-submit', :'data-url' => update_wheelchair_node_url(node_status, :format => :js), disabled: 'disabled'}
              =t('formtastic.labels.save')
    -#.span6.node-status-dropdown
    -#  %h2=t('.accessible_toilet')
    -#  %div.dropdown
    -#    %a{:'data-toggle' => 'dropdown', class: "dropdown-toggle btn wheelchair #{node_status.wheelchair_toilet}", :'data-status' => node_status.wheelchair_toilet}
    -#      %span.pull-left.text= t("home.index.popup.form.#{node_status.wheelchair_toilet}")
    -#      %i.pull-left.icon-question-sign{'data-toggle' => 'popover', 'data-title' => t("home.index.popup.form.#{node_status.wheelchair_toilet}"), 'data-content' => t("wheelmap.what_is.#{node_status.accesibility}"), 'data-trigger' => 'hover'}
    -#      = fa_icon('caret-down', class: 'pull-right')
    -#    %ul.dropdown-menu{'role' => 'menu'}
    -#      - %w{yes no}.each do |status|
    -#        %li
    -#          %a{class: "#{status}", :'data-toggle' => 'status', :'data-status' => status }
    -#            %span.wm-checkbox{'class' => ["wheelchair #{status}", (node_status.wheelchair_toilet == status ? 'checked' : nil)]}
    -#              %i.icon-ok
    -#            %span.text= t("home.index.popup.form.#{status}")
    -#            %i.icon-question-sign{'data-toggle' => 'popover', 'data-title' => t("home.index.popup.form.#{status}"), 'data-content' => t("wheelmap.what_is.#{node_status.accesibility}"), 'data-trigger' => 'hover'}
    -#

  - node_status.provided_pois.with_wheelchair.each do |premium|
    - next if premium.wheelchair == 'unknown'
    .row-fluid
{'fraction_non_alphanumeric': 0.20647227372324287, 'fraction_numerical': 0.0013483903590089331, 'mean_word_length': 3.0839642119752235, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 65, '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': '1351927', 'n_tokens_mistral': 2013, 'n_tokens_neox': 2015, 'n_words': 273}