{% include 'ucp_header.html' %}

<div class="tab-pane active">
	<form id="ucp" method="post" action="{{ S_UCP_ACTION }}"{{ S_FORM_ENCTYPE }} class="iz-form">

		<section class="iz-card iz-card--ucp iz-card--prefs">
			<header class="iz-card__header">
				<h2 class="iz-card__title">{{ L_TITLE }}</h2>
			</header>

			<div class="iz-card__body">

				{% if ERROR %}
					<div class="iz-alert iz-alert--info" role="status">
						<strong>{{ L_INFO_BOX }}</strong>&nbsp;{{ ERROR }}
					</div>
					<div class="iz-space iz-space--sm"></div>
				{% endif %}

				{% EVENT ucp_prefs_post_prepend %}

				<div class="iz-fieldgroup">

					<div class="iz-field">
						<div class="iz-field__label">{{ L_DEFAULT_BBCODE }}{{ L_COLON }}</div>
						<div class="iz-field__control">
							<div class="iz-choicegroup">
								<div class="iz-choice iz-choice--radio">
									<input type="radio" name="bbcode" id="bbcode1" value="1"{% if S_BBCODE %} checked="checked"{% endif %} />
									<label for="bbcode1">{{ L_YES }}</label>
								</div>
								<div class="iz-choice iz-choice--radio">
									<input type="radio" name="bbcode" id="bbcode0" value="0"{% if not S_BBCODE %} checked="checked"{% endif %} />
									<label for="bbcode0">{{ L_NO }}</label>
								</div>
							</div>
						</div>
					</div>

					<div class="iz-field">
						<div class="iz-field__label">{{ L_DEFAULT_SMILIES }}{{ L_COLON }}</div>
						<div class="iz-field__control">
							<div class="iz-choicegroup">
								<div class="iz-choice iz-choice--radio">
									<input type="radio" name="smilies" id="smilies1" value="1"{% if S_SMILIES %} checked="checked"{% endif %} />
									<label for="smilies1">{{ L_YES }}</label>
								</div>
								<div class="iz-choice iz-choice--radio">
									<input type="radio" name="smilies" id="smilies0" value="0"{% if not S_SMILIES %} checked="checked"{% endif %} />
									<label for="smilies0">{{ L_NO }}</label>
								</div>
							</div>
						</div>
					</div>

					<div class="iz-field">
						<div class="iz-field__label">{{ L_DEFAULT_ADD_SIG }}{{ L_COLON }}</div>
						<div class="iz-field__control">
							<div class="iz-choicegroup">
								<div class="iz-choice iz-choice--radio">
									<input type="radio" name="sig" id="sig1" value="1"{% if S_SIG %} checked="checked"{% endif %} />
									<label for="sig1">{{ L_YES }}</label>
								</div>
								<div class="iz-choice iz-choice--radio">
									<input type="radio" name="sig" id="sig0" value="0"{% if not S_SIG %} checked="checked"{% endif %} />
									<label for="sig0">{{ L_NO }}</label>
								</div>
							</div>
						</div>
					</div>

					<div class="iz-field">
						<div class="iz-field__label">{{ L_DEFAULT_NOTIFY }}{{ L_COLON }}</div>
						<div class="iz-field__control">
							<div class="iz-choicegroup">
								<div class="iz-choice iz-choice--radio">
									<input type="radio" name="notify" id="notify1" value="1"{% if S_NOTIFY %} checked="checked"{% endif %} />
									<label for="notify1">{{ L_YES }}</label>
								</div>
								<div class="iz-choice iz-choice--radio">
									<input type="radio" name="notify" id="notify0" value="0"{% if not S_NOTIFY %} checked="checked"{% endif %} />
									<label for="notify0">{{ L_NO }}</label>
								</div>
							</div>
						</div>
					</div>

				</div>

				{% EVENT ucp_prefs_post_append %}

				<div class="iz-space iz-space--md"></div>

				<div class="iz-actions">
					{{ S_HIDDEN_FIELDS }}
					<button type="submit" name="submit" value="{{ L_SUBMIT }}" class="iz-btn iz-btn--primary">
						{{ L_SUBMIT }}
					</button>
					{{ S_FORM_TOKEN }}
				</div>

			</div>
		</section>

	</form>
</div>

{% include 'ucp_footer.html' %}
