Skip to content

Commit

Permalink
Added username field in edit profile form (Issue-769) (#771)
Browse files Browse the repository at this point in the history
Co-authored-by: Rajat Rajdeep <rajat.rajdeep@avasant.com>
  • Loading branch information
RajatRajdeep and Rajat Rajdeep authored Jun 14, 2023
1 parent 130657d commit abcff23
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions junction/templates/profiles/userprofile.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ <h2 class="text-center">Edit Profile</h2>
<div class="pad-2 push-half-top push-2-bottom">
<form class="form-horizontal login-form" method="POST">
{% csrf_token %}
<div class="form-group">
<label for="username" class="col-lg-4 control-label"> Username :</label>
<div class="col-lg-8">
<input name="username" type="text" value="{{detail.user.username}}" disabled>
</div>
</div>
<div class="form-group">
<label for="city" class="col-lg-4 control-label"> City :</label>
<div class="col-lg-8">
Expand Down

0 comments on commit abcff23

Please sign in to comment.