]> Softwares of Agnibho - librevax.git/commitdiff
Vaccination edit: blank sid first
authorAgnibho Mondal <mondal@agnibho.com>
Thu, 11 Jan 2024 21:17:50 +0000 (02:47 +0530)
committerAgnibho Mondal <mondal@agnibho.com>
Thu, 11 Jan 2024 21:17:50 +0000 (02:47 +0530)
templates/vaccination-edit.html

index e0295884e6f77984ce2026e9b502ea5f7c0edd4c..383454fa07575058be562aa5371b0a098905eb92 100644 (file)
@@ -44,10 +44,10 @@ You should have received a copy of the GNU General Public License along with Lib
       <label class="form-label col-sm-3">Consultant</label>
       <div class="col-sm-9">
         <select name="consultant" class="form-select">
+          <option value=""></option>
           {% for i in consultant %}
           <option value="{{i["sid"]}}" {% if i["sid"]==data["sid"] %} select {% endif %}>{{i["name"]}}</option>
           {% endfor %}
-          <option value=""></option>
         </select>
       </div>
     </div>
@@ -55,10 +55,10 @@ You should have received a copy of the GNU General Public License along with Lib
       <label class="form-label col-sm-3">Vaccinator</label>
       <div class="col-sm-9">
         <select name="vaccinator" class="form-select">
+          <option value=""></option>
           {% for i in vaccinator %}
           <option value="{{i["sid"]}}" {% if i["sid"]==data["sid"] %} select {% endif %}>{{i["name"]}}</option>
           {% endfor %}
-          <option value=""></option>
         </select>
       </div>
     </div>