(control) Fix broken update button in the update-domain-ranking-set form

id property was on the wrong element.
This commit is contained in:
Viktor Lofgren 2024-01-17 18:21:09 +01:00
parent 304d4c9acf
commit 41cdb8f71b

View File

@ -9,8 +9,8 @@
<div class="container"> <div class="container">
{{#with rankingSet}} {{#with rankingSet}}
<h1 class="my-3">Domain Ranking Set: {{name}}</h1> <h1 class="my-3">Domain Ranking Set: {{name}}</h1>
<form method="post" action="?act=update"> <form method="post" action="?act=update" id="update-form">
<table class="table" id="update-form"> <table class="table">
<tr> <tr>
<th><label for="name">Name</label></th> <th><label for="name">Name</label></th>
<td> <td>
@ -56,7 +56,7 @@
<tr> <tr>
<th><label for="depth">Depth</label></th> <th><label for="depth">Depth</label></th>
<td> <td>
<input type="text" value="{{depth}}" id="depth" name="depth" /> <input pattern="\d+" type="text" value="{{depth}}" id="depth" name="depth" />
<div> <div>
<small class="text-muted">Number. Up to this number of domains are ranked, the rest are excluded.</small> <small class="text-muted">Number. Up to this number of domains are ranked, the rest are excluded.</small>
</div> </div>