Currently, I am developing a python/django website using bootstrap, and I have encountered an issue that I cannot resolve independently. It has been quite some time since I last worked with python/django/bootstrap, so I may be overlooking something?
<form action="" method="post" autocomplete="off">
{% csrf_token %}
{{ form.non_field_errors }}
<div class="input-group mb-3 col-lg-4">
<div class="input-group-prepend ">
<span class="input-group-text" id="basic-addon1">Player Name</span>
</div>
<input type="text" class="form-control" id="player_name" name='player_name' placeholder="Player Name">
</div>
<div class="input-group mb-3 col-lg-4">
<div class="input-group-prepend ">
<span class="input-group-text " id="basic-addon1">Recruiter</span>
</div>
{{ form.recruiter }}
</div>
<div class="input-group mb-3 col-lg-4">
<div class="input-group-prepend">
<span class="input-group-text" id="basic-addon1">Notes</span>
</div>
<input type="text" class="form-control" id="notes" name="notes">
</div>
<div class="input-group mb-3 col-lg-4">
<div class="input-group-prepend">
<span class="input-group-text" id="basic-addon1">Accepted</span>
</div>
<select class="form-select form-select-lg" aria-label=".form-select-lg" id='accepted' name='accepted'>
<option value="Not Yet" selected>Not Yet</option>
<option value="No">No</option>
<option value="Yes">Yes</option>
</select>
</div>
<div class="input-group mb-3 col-lg-4">
<div class="input-group-prepend">
<span class="input-group-text" id="basic-addon1">Vote is up</span>
</div>
<select class="form-select form-select-sm" aria-label=".form-select-sm" id='vote_is_up' name='vote_is_up'>
<option value="No" selected>No</option>
<option value="Yes">Yes</option>
</select>
</div>
<div class="form-check">
<input class="form-check-input" type="checkbox" value="" id="archived" hidden>
<label class="form-check-label" for="flexCheckDefault" hidden>
Archived
</label>
</div>
{% if form.errors %}
{% for field in form %}
{% for error in field.errors %}
<div class="alert alert-danger">
<strong>{{ error|escape }}</strong>
</div>
{% endfor %}
{% endfor %}
{% endif %}
<button type="submit" class="btn btn-primary">Add</button>
</form>
In the image provided below, you can observe that the 'labels' are misaligned. My aim is to make them all equal in length for a neater alignment.