skip to Main Content

How to pass default input value using for loop in a form using Jinja? – Html

<tbody> {% for template in rs_templates %} <tr> <th scope="row">{{template.id}}</th> <td>{{ template.compound }}</td> <td>{{template.strength}}</td> <!--update template code--> <td> <button type="button" class="btn btn-warning" data-toggle="modal" data-target="#updateModal">Update</button> </td> <!-- Update Template Modal --> <div class="modal fade" id="updateModal" tabindex="-1" aria-labelledby="updateModalLabel" aria-hidden="true"> <div class="modal-dialog"> <div…

VIEW QUESTION

Split selected value with _ – Jquery

I am using material css for my web page design. I am having one single select country list dropdown and the values <select id="select_id" name="select_id" required> <option value="8">select1_1</option> <option value="15">select2_2</option> </select> $(document).ready(function() { $('select').formSelect(); }); My select option are populating…

VIEW QUESTION
Back To Top
Search