this is for log.html
{% from "_render_field.html" import render_field %}
{% extends "base.html" %}
{% block mainblock %}
    <div class="card-header">
        <h3>BMI Calculator</h3>
    </div>
    <div class="card-body">
        <div class="container">
            <label for="" class="weight_label">Weight (kilogram)</label>
            <input type="text" class="weight_input" placeholder="kg" size="18"> 
            <label for="" class="height_label">Height</label>
            <input type="text" class="height_input" placeholder="m or cm" size="18">

            <div class="pre_radio_space"> </div>
            <input class="radio_m_input" type="radio" id="m" name="length" value="length" checked>
            <label class="radio_me_label" for="meter">m</label>
            <input class="radio_cm_input" type="radio" id="cm" name="length" value="length">
            <label class="radio_cm_label" for="centimeter">cm</label>

            <!-- </div> -->

            <!-- Use Event Binding to Create Event -->
            <div class="pre_action_space">  </div>

            <button class="r1" type="button" id="bmi" origC="rgb(216, 210, 210)">Calculate</button>
            <button class="r2" type="button" id="clear" usrOn="0" origC="" origO="">Clear</button>

            <div class="output_space">
                <p>The Output Area</p>
            </div>
    
            <!-- <script src="{{ url_for('static', filename='js/log.js')}}"></script> -->
            <script src="{{ url_for('static', filename='js/log0.js')}}"></script>
    </div>
{% endblock %}

this is for log2.html
{% extends "base.html" %}
{% block userDropdown %}
{% if panel == "Logging BMI 2" %}
<select  name="parameter" id="selected_parameter" >
  <option value="all">Select One</option>
  {% for user in user_list %}
  <option value="{{user.email}}">{{user.email}}</option>
  {% endfor %}
</select>	
{% endif %}
<script src="{{ url_for('static', filename='js/log2.js') }}"></script>
{% endblock %}

{% block mainblock %}
    <div class="card-header">
        <h3>BMI Calculator</h3>
    </div>
    <div class="card-body">
        <div class="container-fluid col-sm-12">
            <form action="/process2" method="post">
            <!-- <input name="user_email" type="hidden" id="user_email" value=""> -->
                <div class="form-group row">
                  <label for="email" class="col-sm-3 col-form-label">Email</label>
                  <div class="col-sm-5">
                    <input class="form-control" id="user_email" placeholder="email" name="user_email" required>
                  </div>
                </div>
                <div class="form-group row">
                  <label for="weight" class="col-sm-3 col-form-label">Weight</label>
                  <div class="col-sm-5">
                    <input class="form-control" id="weight" placeholder="Weight (kg)" name="weight" required>
                  </div>
                </div>
                <div class="form-group row">
                  <label for="height" class="col-sm-3 col-form-label">Height</label>
                  <div class="col-sm-5">
                    <input class="form-control" id="height" placeholder="Height (cm or m)" name="height" required>
                  </div>
                </div>
                 <div class="form-group row">
                  <label for="spce" class="col-sm-3 col-form-label"></label>
                    <div class="col-sm-5">
                        <input type="radio" id="m" name="unit" value="m" checked>
                        <label for="meter">m</label>
                        <input type="radio" id="cm" value="cm" name="unit">
                        <label for="centimeter">cm</label>
                    </div>
                </div>
                <div class="form-group row">
                    <label for="space" class="col-sm-3 col-form-label">Date & Time</label>
                    <div class="col-sm-5">
                      <input type="datetime-local" class="form-control" id="datetime" name="date" required>
                    </div>
                  </div>
                <div class="form-group row form-check">
                        <button type="submit" class="offset-sm-3 btn btn-primary">Log BMI</button>
                </div>
            
              </form>
            </div>
    </div>
{% endblock %}