add support for user name changes

This commit is contained in:
albert
2013-03-26 01:03:42 -04:00
parent f4cc6e7d99
commit 520e97485b
13 changed files with 394 additions and 4 deletions

View File

@@ -0,0 +1,21 @@
<h1>Name Change Request</h1>
<p>You can request a name change but it must be approved. Factors that go into consideration include your upload and update history, and your user feedback.</p>
<%= error_messages_for "change_request" %>
<%= form_tag(user_name_change_requests_path, :class => "simple_form") do %>
<div class="input">
<label for="desired_name">Desired Name</label>
<%= text_field_tag "desired_name" %>
</div>
<div class="input">
<label for="desired_name">Reason</label>
<%= text_field_tag "reason" %>
</div>
<div class="input">
<%= submit_tag %>
</div>
<% end %>