Fix #4177: Allow all users to change their username.
This commit is contained in:
@@ -11,12 +11,7 @@
|
||||
<fieldset id="basic-settings-section">
|
||||
<div class="input">
|
||||
<label>Name</label>
|
||||
|
||||
<% if CurrentUser.user.is_gold? %>
|
||||
<p><%= link_to "Change your name", new_user_name_change_request_path %></p>
|
||||
<% else %>
|
||||
<p>You must <%= link_to "upgrade your account", new_user_upgrade_path %> to request a name change</p>
|
||||
<% end %>
|
||||
<p><%= link_to "Change your name", new_user_name_change_request_path %></p>
|
||||
</div>
|
||||
|
||||
<div class="input">
|
||||
|
||||
@@ -7,12 +7,6 @@
|
||||
comments. If you want <%= link_to "more features", new_user_upgrade_path %> you can upgrade your account later.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<strong>This site is open to web crawlers, so whatever name you choose will be public</strong>. This includes
|
||||
favorites, uploads, and comments. Almost everything is public. So don't choose a name you don't want to be
|
||||
associated with.
|
||||
</p>
|
||||
|
||||
<div id="p3">
|
||||
<%= simple_form_for(@user, html: {id: "signup-form"}) do |f| %>
|
||||
<%= f.input :name, as: :string %>
|
||||
|
||||
Reference in New Issue
Block a user