<xf:if is="!{$xf.visitor.user_id}">
	<xf:form action="{{ link('login/login') }}" class="block" attributes="{{ widget_data($widget, true) }}">
		<div class="block-container">
			<h3 class="block-minorHeader">{{ phrase('log_in') }}</h3>
			<div class="block-body">
				<div class="block-row">
					<label for="ctrl_loginWidget_login">{{ phrase('your_name_or_email_address') }}</label>
					<div class="u-inputSpacer">
						<input name="login" id="ctrl_loginWidget_login" class="input" />
					</div>
				</div>

				<div class="block-row">
					<label for="ctrl_loginWidget_password">{{ phrase('password') }}</label>
					<div class="u-inputSpacer">
						<input name="password" id="ctrl_loginWidget_password" type="password" class="input" />
						<a href="{{ link('lost-password') }}" data-xf-click="overlay">{{ phrase('forgot_your_password') }}</a>
					</div>
				</div>

				<div class="block-row">
					<label>
						<input type="checkbox" name="remember" value="1" checked="checked"> {{ phrase('stay_logged_in') }}
					</label>
				</div>

				<xf:submitrow icon="login" rowtype="simple" />
			</div>
		</div>
	</xf:form>
</xf:if>