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

<xf:breadcrumb href="{{ link('conversations') }}">{{ phrase('conversations') }}</xf:breadcrumb>
<xf:breadcrumb href="{{ link('conversations', $conversation) }}">{$conversation.title}</xf:breadcrumb>

<xf:form action="{{ link('conversations/leave', $conversation) }}" class="block" ajax="true">
	<div class="block-container">
		<div class="block-body">
			<xf:inforow>
				{{ phrase('leaving_conversation_will_remove_it_from_your_conversation_list') }}
			</xf:inforow>
			<xf:radiorow name="recipient_state"
				label="{{ phrase('future_message_handling') }}">

				<xf:option value="deleted" checked="checked"
					label="{{ phrase('accept_future_messages') }}"
					hint="{{ phrase('should_conversation_receive_responses_restored_to_inbox') }}" />

				<xf:option value="deleted_ignored"
					label="{{ phrase('ignore_future_messages') }}"
					hint="{{ phrase('not_notified_of_responses_conversation_remain_deleted') }}" />
			</xf:radiorow>
		</div>
		<xf:submitrow submit="{{ phrase('leave') }}" />
	</div>
</xf:form>