I'm struggling to display an icon from Font Awesome and a form input in the same column.
<div class="form-group">
<form method="POST" enctype="multipart/form-data">
{% csrf_token %}
{{ form.media }}
<div class="row pt-3">
<i class="fa fa-user fa-lg">{{ form.username }}</i>
</div>
</form>
</div>
When using the code above, it appears as shown in the screenshot below: https://i.sstatic.net/Ydhsc.png
However, I want it to look like the image below:
https://i.sstatic.net/1KUie.png
Your assistance is greatly appreciated. Thank you.