<form method="POST" enctype="multipart/form-data">
    {% csrf_token %}
    <fieldset class="form-group">
        <legend class="border-bottom mb-4">Profile</legend>
        {{ u_form.as_p }}
        {{ p_form.as_p }}
    </fieldset>
    <button type="submit">Update</button>
</form>