diff --git a/cerealblotchmodels/templates/cerealblotchmodels/barleynetblotchform.html b/cerealblotchmodels/templates/cerealblotchmodels/barleynetblotchform.html index eba7b2a54be8e6062610e7e39fe472107e1f9dab..a3c988d3d8a8d2384ad1d9510c394023ffd1fa2a 100755 --- a/cerealblotchmodels/templates/cerealblotchmodels/barleynetblotchform.html +++ b/cerealblotchmodels/templates/cerealblotchmodels/barleynetblotchform.html @@ -85,7 +85,6 @@ <div id="input-coordinates"> <input type="hidden" class="form-control" name="latitude" id="latitude" placeholder="Breddegrad" aria-label="Breddegrad"> <input type="hidden" class="form-control" name="longitude" id="longitude" placeholder="Lengdegrad" aria-label="Lengdegrad"> - <input type="hidden" class="form-control" name="timezone" id="timezone" placeholder="Tidssone" aria-label="Tidssone"> <div id="gridPointInfo"></div> <button type="button" class="btn btn-primary btn-map" onclick="openCoordinatesMap()"><i class="fa fa-map-marker fa-lg"></i> {% trans "Open map" %}</button> </div> @@ -225,7 +224,7 @@ "weatherDataSourceType", "latitude", "longitude", - "timezone", + "timeZone", "weatherStationId", "cropOrganismId", "sowingDate", @@ -329,7 +328,7 @@ const getTimezoneForPoint = (latitude, longitude) => { getLocationInformation(latitude, longitude).then(locationInfo => { - theForm["timezone"].value = locationInfo.timezone; + theForm["timeZone"].value = locationInfo.timezone; document.getElementById("gridPointInfo").innerHTML = `<b>{% trans "Location" %}</b> ${locationInfo.location}<br> <b>{% trans "Latitude" %}</b> ${locationInfo.latitude}<br> <b>{% trans "Longitude" %}</b> ${locationInfo.longitude}<br>