{% if new %}
	{% set action = '?/users/new' %}
{% else %}
	{% set action = '?/users/' ~ user.id %}
{% endif %}

<form action="{{ action }}" method="post">
	<input type="hidden" name="token" value="{{ token }}">
	<table>
		<tr>
			<th>{% trans 'Username' %}</th>
			<td>
				{% if new or mod|hasPermission(config.mod.editusers) %}
					<input size="20" maxlength="30" type="text" name="username" value="{{ user.username|e }}" autocomplete="off">
				{% else %}
					{{ user.username|e }}
				{% endif %}
			</td>
