Skip to content

Commit

Permalink
user disabled (#5168)
Browse files Browse the repository at this point in the history
  • Loading branch information
divyabaid16 authored and grvsachdeva committed Mar 19, 2019
1 parent e0dfb99 commit 4fc2e9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/users/_edit_form.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

<div class="form-group col-sm-6">
<label for="username"><%= t('users._form.username') %></label>
<%= f.text_field :username, { readonly: true, tabindex: 1, placeholder: "Username", class: 'form-control', id: 'username' , title: 'Username field cannot be changed'} %>
<%= f.text_field :username, { readonly: true, tabindex: 1, placeholder: "Username", class: 'form-control', id: 'username' , title: 'Username field cannot be changed', disabled: true} %>
<input type="hidden" name="id" value="<%= @user.username %>" />
</div>

Expand Down

0 comments on commit 4fc2e9f

Please sign in to comment.