anchor.diff:        <%= f.label :locatlion, "Localização da Venda" ,:class=>"control-label" %><label class="help-inline" style="margin-left:10px" generated="true" for="addresspicker_map"></label>
         <div class="controls">
           <%= f.text_field :location,:placeholder =>"Localização da venda..." ,:class=>"form-control", :id=>"addresspicker_map",autocomplete: "off"%>
  -        <%= f.hidden_field :coordX, id:"coordX" %>
  -        <%= f.hidden_field :coordY, id:"coordY" %>
  +        <% f.hidden_field :coordX %>
         </div>
   
         <div style="width:100%;height:350px;margin-top:20px">
  
positive.code:             });
  
              addresspickerMap.on("addressChanged", function(evt, address) {
                  $('#coordX').val(address.geometry.location.lat());
                  $('#coordY').val(address.geometry.location.lng());
                  $('#city').text(address.address_components[2].long_name);
              });
  
  
negative.code:       </div>
        <div style="float:right">
            <span class="label label-danger" id="city">-</span>
            <span class="label label-primary" id="coordX" name="coordX">X</span>
            <span class="label label-primary" id="coordY" name="coordY">Y</span>
        </div>
      </div>
  
  