<xf:include template="base_custom_field_edit">
	<xf:set var="$extraOptions">
		<xf:macro template="base_custom_field_macros" name="common_options"
			arg-field="{$field}"
			arg-supportsUserEditable="{{ true }}"
			arg-supportsEditableOnce="{{ true }}"
			arg-supportsModeratorEditable="{{ true }}" />

		<xf:checkboxrow>
			<xf:option name="show_registration" selected="$field.show_registration"
				label="{{ phrase('show_during_registration') }}"
				hint="{{ phrase('required_fields_will_always_be_shown_during_registration') }}" />
			<xf:option name="viewable_profile" selected="$field.viewable_profile"
				label="{{ phrase('viewable_on_profile_pages') }}"
				hint="{{ phrase('this_does_not_apply_to_fields_displayed_within_preferences_page') }}" />
			<xf:option name="viewable_message" selected="$field.viewable_message"
				label="{{ phrase('viewable_in_message_user_info') }}"
				hint="{{ phrase('dependent_upon_show_custom_fields_style_property') }}" />
		</xf:checkboxrow>
	</xf:set>
</xf:include>