<xf:title>{{ phrase('confirm_action') }}</xf:title>

<xf:form action="{{ link('banning/discouraged-ips/add', null, {'ip': $ip}) }}" ajax="true" data-redirect="off" class="block">
	<div class="block-container">
		<div class="block-body">
			<xf:inforow rowtype="confirm">
				{{ phrase('please_confirm_that_you_want_to_discourage_following_ip:') }}
				<strong><a href="{{ link('users/ip-users', null, {'ip': $ip}) }}" dir="ltr">{$ip}</a></strong>
			</xf:inforow>

			<xf:textboxrow name="reason" hint="{{ phrase('optional') }}" maxlength="250"
				label="{{ phrase('reason') }}" />
		</div>
		<xf:submitrow icon="save" />
	</div>
</xf:form>