-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We've had a request by one user so far, and it would be nicer to not have a dev mess around the DB manually
- Loading branch information
1 parent
f147e6f
commit 13d9d1f
Showing
6 changed files
with
69 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<div class="tab-content"> | ||
<div class="tab-pane active" role="tabpanel"> | ||
<%= form_with url: rename_user_admin_users_path, method: :patch, autocomplete: :off do |f| %> | ||
<%= f.hidden_field :id, value: @repo_user.id %> | ||
<div class="row"> | ||
<%= f.label :rename, 'Rename user to:', class: 'col-form-label col-lg-auto' %> | ||
<div class="input-group col-lg-4"> | ||
<%= f.text_field :rename, placeholder: @repo_user.username, autocomplete: :off, class: 'form-control' %> | ||
<%= f.submit 'Update username', class: 'btn btn-primary' %> | ||
</div> | ||
</div> | ||
<% end %> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters