anchor.diff:  
   editablefields = ['name', 'phone', 'email', 'complaint', 'description', 'locationdescription'] #'room', 
   dropdownfields = ['org', 'dept','assigned' ] #'building', 'floor']
  +
  +label_container_css_class = 'col-2 col-md-4 col-sm-2'
  +field_container_css_class = 'col-4 col-md-8 col-sm-10'
   %>
   
   
  
positive.code: 
  
  <div class="row" style="margin-bottom: 10px">
      <div class="col-2">
        <label style="font-weight: bold;">Requester Organization</label>
      </div>
      <div class="col-4">
        <select name="org" id="org" class="form-control" onchange="cascDdl()">
          <option></option>
          <% @departments.each do |iter| %>
  
negative.code: 
  
  
    <!-- Assigned to -->
    <h4>Location Structure</h4>
  
  
    <div class="row" style="margin-bottom: 10px">
    <div class="<%= label_container_css_class %>">
      <label style="font-weight: bold;">
        Location's Organization
      </label>
    </div>
    <div class="<%= field_container_css_class %>">
      <select name="locorg" id="locorg" class="form-control" onchange="loadSite(this)">
        <option></option>
        <%
          if @locstruct != nil
            #@locstruct is an array with all the location organizations
        %>
          <% @locstruct.each do |iter| %>
            <option <%= (@rec != nil && @rec[:locorg] == iter[:code]) ? ' selected="selected"' : '' %> value="<%= iter[:code] %>"><%= iter[:name] %></option>
          <% end #do %>
        <% end #if %>
      </select>
    </div>
  </div>
  
  <div class="row" style="margin-bottom: 10px">
    <div class="<%= label_container_css_class %>">
      <label style="font-weight: bold;">
        Site
      </label>
    </div>
    <div class="<%= field_container_css_class %>">
      <select name="locsite" id="locsite" class="form-control" onchange="loadBldg(this)">
        <option></option>
        <%
          sites = nil
          if @locstruct != nil && @rec != nil && @rec[:locorg] != '' && @locstruct.select { |x| x[:code] == @rec[:locorg] }.count > 0
            sites = @locstruct.select { |x| x[:code] == @rec[:locorg] }[0][:children]
            #sites is an array with all the child-sites for the selected location-organization
        %>
          <% sites.each do |iter| %>
            <option <%= (@rec != nil && @rec[:locsite] == iter[:code]) ? ' selected="selected"' : '' %> value="<%= iter[:code] %>"><%= iter[:name] %></option>
          <% end #do %>
        <% end #if %>
      </select>
    </div>
  </div>
  
  <div class="row" style="margin-bottom: 10px">
    <div class="<%= label_container_css_class %>">
      <label style="font-weight: bold;">
        Building
      </label>
    </div>
    <div class="<%= field_container_css_class %>">
      <select name="locbldg" id="locbldg" class="form-control" onchange="loadFloor(this)">
        <option></option>
        <%
          bldgs = nil
          if sites != nil && sites.select { |x| x[:code] == @rec[:locsite] }.count > 0
            bldgs = sites.select { |x| x[:code] == @rec[:locsite] }[0][:children]
        %>
          <% bldgs.each do |iter| %>
            <option <%= (@rec != nil && @rec[:locbldg] == iter[:code]) ? ' selected="selected"' : '' %> value="<%= iter[:code] %>"><%= iter[:name] %></option>
          <% end #do %>
        <% end #if %>
      </select>
    </div>
  </div>
  
  <div class="row" style="margin-bottom: 10px">
    <div class="<%= label_container_css_class %>">
      <label style="font-weight: bold;">
        Floor
      </label>
    </div>
    <div class="<%= field_container_css_class %>">
      <select name="locfloor" id="locfloor" class="form-control" onchange="loadRoom(this)">
        <option></option>
        <%
          floors = nil
          if bldgs != nil && bldgs.select { |x| x[:code] == @rec[:locbldg] }.count > 0
            floors = bldgs.select { |x| x[:code] == @rec[:locbldg] }[0][:children]
        %>
          <% floors.each do |iter| %>
            <option <%= (@rec != nil && @rec[:locfloor] == iter[:code]) ? ' selected="selected"' : '' %> value="<%= iter[:code] %>"><%= iter[:name] %></option>
          <% end #do %>
        <% end #if %>
      </select>
    </div>
  </div>
  
    <div class="row" style="margin-bottom: 10px">
      <div class="<%= label_container_css_class %>">
        <label style="font-weight: bold;">
          Room
        </label>
      </div>
      <div class="<%= field_container_css_class %>">
        <select name="locroom" id="locroom" class="form-control">
          <option></option>
          <%
            rooms = nil
            if floors != nil && floors.select { |x| x[:code] == @rec[:locfloor] }.count > 0
              rooms = floors.select { |x| x[:code] == @rec[:locfloor] }[0][:children]
          %>
            <% rooms.each do |iter| %>
              <option <%= (@rec != nil && @rec[:locroom] == iter[:code]) ? ' selected="selected"' : '' %> value="<%= iter[:code] %>"><%= iter[:name] %></option>
  