Warn about changing usernames

This commit is contained in:
Kyle Drake 2016-12-25 13:35:58 -06:00
parent 34c075bbc6
commit 119381c222

View file

@ -1,6 +1,9 @@
<h2>Change Site (User) Name</h2>
<form method="POST" action="/settings/<%= @site.username %>/change_name">
<%== csrf_token_input_html %>
<p class="tiny">
<strong>Warning: It is not advised to change your username</strong>, as this breaks search engines and will reduce the amount of visitors to your site.
</p>
<p class="tiny">
It cannot contain spaces, and can only use the following characters: a-z A-Z 0-9 _ -
</p>