<form name="login" method="post" action="{{ form_action }}">
<input type="hidden" name="redirect" value="{{ redirect }}" />
<h2 class="section_name">{{ lang['login.title'] }}</h2>
<div class="box_content">
	<div class="page_form__form">
		<ul class="ui-form">
			{% if (flags.error) %}
				<li class="box_info">
					{{ lang['login.error'] }}
				</li>
			{% endif %}
			{% if (flags.banned) %}
				<li class="box_info">
					{{ lang['login.banned'] }}
				</li>
			{% endif %}
			{% if (flags.need_activate) %}
				<li class="box_info">
					{{ lang['login.need_activate'] }}
				</li>
			{% endif %}
			<li class="form-group">
				<label>{{ lang['login.username'] }}:</label>
				<input type="text" name="username" class="wide" required>
			</li>
			<li class="form-group">
				<label>{{ lang['login.password'] }}:</label>
				<input type="password" name="password" class="wide" required>
			</li>
		</ul>
		<div class="form_submit">
			<button class="btn" type="submit">{{ lang['login.submit'] }}</button>
		</div>
	</div>
</div>
</form>