Skip to content

Commit

Permalink
Remove pattern from EMLGeoCoverage coord inputs
Browse files Browse the repository at this point in the history
Fixes issue #2226
  • Loading branch information
robyngit committed Nov 22, 2023
1 parent d2544b0 commit 8654249
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/js/templates/metadata/EMLGeoCoverage.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@
<div class="row-fluid">
<div class="span6">
<label class="subtle">Northwest coordinates</label>
<input type="text" value="<%=model.north%>" data-attribute="north" class="coord north" placeholder="Lat" pattern = "^-?(90(\.0+)?|[1-8]?\d(\.\d+)?)$" title="Enter a valid latitude (-90 to 90)" />
<input type="text" value="<%=model.west%>" data-attribute="west" class="coord west" placeholder="Long" pattern = "^-?(180(\.0+)?|1?[0-7]?\d(\.\d+)?)$" title="Enter a valid longitude (-180 to 180)"/>
<input type="text" value="<%=model.north%>" data-attribute="north" class="coord north" placeholder="Lat" title="Enter a valid latitude (-90 to 90)" />
<input type="text" value="<%=model.west%>" data-attribute="west" class="coord west" placeholder="Long" title="Enter a valid longitude (-180 to 180)"/>
</div>
<div class="span6">
<label class="subtle">Southeast coordinates</label>
<input type="text" value="<%=model.south%>" data-attribute="south" class="coord south" placeholder="Lat" pattern = "^-?(90(\.0+)?|[1-8]?\d(\.\d+)?)$" title="Enter a valid latitude (-90 to 90)"/>
<input type="text" value="<%=model.east%>" data-attribute="east" class="coord east" placeholder="Long" pattern = "^-?(180(\.0+)?|1?[0-7]?\d(\.\d+)?)$" title="Enter a valid longitude (-180 to 180)"/>
<input type="text" value="<%=model.south%>" data-attribute="south" class="coord south" placeholder="Lat" title="Enter a valid latitude (-90 to 90)"/>
<input type="text" value="<%=model.east%>" data-attribute="east" class="coord east" placeholder="Long" title="Enter a valid longitude (-180 to 180)"/>
</div>
</div>
</div>
Expand Down

0 comments on commit 8654249

Please sign in to comment.