Skip to content

Commit

Permalink
Merge pull request #5 from akihirok2k2/master
Browse files Browse the repository at this point in the history
Require server weight to be at least 1
  • Loading branch information
hjr265 authored Jun 5, 2021
2 parents c969c3e + b0a04dd commit 0dc3bcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/templates/serverEditForm.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<div class="form-group">
<label for="inpWeight" class="col-sm-2 control-label">Weight</label>
<div class="col-sm-4">
<input type="number" name="settings.weight" class="form-control" id="inpWeight" value="{{.Server.Settings.Weight}}">
<input type="number" name="settings.weight" class="form-control" id="inpWeight" value="{{.Server.Settings.Weight}}" min="1" >
</div>
</div>
<div class="form-group">
Expand Down

0 comments on commit 0dc3bcd

Please sign in to comment.