<commit_before><h1><%= @zoning_district.code %> &mdash; <%= @zoning_district.name %></h1>
<p><%= @zoning_district.description %></p>

<% if flash[:notice].present? %>
  <div class="flash notice"><%= flash[:notice] %></div>
<% end %>

<%= will_paginate @cic_code_zoning_districts, :container => false %>

<% if @zoning_district.cic_code_zoning_districts.blank? %>
  <p>There are no CIC Codes associated with this Zoning District.</p>
<% else %>
  <table class="table table-striped">
    <thead>
      <tr>
        <th colspan="3">&nbsp;</th>
        <th colspan="6" style="text-align:center;">Permit Type</th>
        <th colspan="2">&nbsp;</th>
      </tr>
      <tr>
        <th>Code</th>
        <th>Industry</th>
        <th>Subindustry</th>
        <th>Permission Name</th>
        <th>Explanation (if Unknown)</th>
        <th>Home Occ. Prohibited?</th>
      </tr>
    </thead>
    <tbody>
      <% for cic_code_zoning_district in @cic_code_zoning_districts %>
          <tr class="<%= cycle("odd", "even") -%>">
            <td>
              <%= link_to cic_code_zoning_district.cic_code.code, edit_admin_cic_code_path(cic_code_zoning_district.cic_code, :zoning_district_id => @zoning_district.id) %>
            </td>
            <td><%= cic_code_zoning_district.cic_code.industry %></td>
            <td><%= cic_code_zoning_district.cic_code.subindustry %></td>
            <td width="30%"><%= on_the_spot_edit cic_code_zoning_district, :permission, :display_text => cic_code_zoning_district.permission_name, :type => :select, :data => [ [1,'Zoning Clearance'], [2,'AUP'], [3,'SUP'], [4,'Prohibited'], [5,'Unknown'] ] %></td>
            <td><%= on_the_spot_edit cic_code_zoning_district, :notes %></td>
            <td><%= on_the_spot_edit cic_code_zoning_district, :home_occ_prohibited, :display_method => :home_occ_prohibited_name, :type => :checkbox %></td>
        </tr>
      <% end %>
    </tbody>
  </table>
<% end %>
<commit_msg>removed redundant home occ prohibited column from zoning district show page<commit_after><h1><%= @zoning_district.code %> &mdash; <%= @zoning_district.name %></h1>
<p><%= @zoning_district.description %></p>

<% if flash[:notice].present? %>
  <div class="flash notice"><%= flash[:notice] %></div>
<% end %>

<%= will_paginate @cic_code_zoning_districts, :container => false %>

<% if @zoning_district.cic_code_zoning_districts.blank? %>
  <p>There are no CIC Codes associated with this Zoning District.</p>
<% else %>
  <table class="table table-striped">
    <thead>
      <tr>
        <th>Code</th>
        <th>Industry</th>
        <th>Subindustry</th>
        <th>Permission Name / Permit Type</th>
        <th>Explanation (if Unknown)</th>
      </tr>
    </thead>
    <tbody>
      <% for cic_code_zoning_district in @cic_code_zoning_districts %>
          <tr class="<%= cycle("odd", "even") -%>">
            <td>
              <%= link_to cic_code_zoning_district.cic_code.code, edit_admin_cic_code_path(cic_code_zoning_district.cic_code, :zoning_district_id => @zoning_district.id) %>
            </td>
            <td><%= cic_code_zoning_district.cic_code.industry %></td>
            <td><%= cic_code_zoning_district.cic_code.subindustry %></td>
            <td width="30%"><%= on_the_spot_edit cic_code_zoning_district, :permission, :display_text => cic_code_zoning_district.permission_name, :type => :select, :data => [ [1,'Zoning Clearance'], [2,'AUP'], [3,'SUP'], [4,'Prohibited'], [5,'Unknown'] ] %></td>
            <td><%= on_the_spot_edit cic_code_zoning_district, :notes %></td>
        </tr>
      <% end %>
    </tbody>
  </table>
<% end %>

{'fraction_non_alphanumeric': 0.18355481727574752, 'fraction_numerical': 0.005813953488372093, 'mean_word_length': 3.4222766217870255, 'pattern_counts': {'":': 0, '<': 128, '<?xml version=': 0, '>': 140, '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': '2881684', 'n_tokens_mistral': 1409, 'n_tokens_neox': 1297, 'n_words': 228}