<div class="ui modal smaller custom-offer-container <?php echo $unique_id; ?>">

	<i class="close icon"></i>

	<div class="ui icon header">

		<i class="file text outline inverted grey icon"></i>

		<?php echo $title; ?>

	</div>

	<div id="custom-offer-wrapper <?php echo $page . ' ' . $pid; ?>" class="content custom-offer-wrapper" data-unique-id="<?php echo $unique_id; ?>" data-pid="<?php echo $pid; ?>" data-page="<?php echo $page; ?>">

		<div class="custom-offer-content <?php echo $page . ' ' . $pid; ?>">

			<div class="custom-offers-default-container">

				<form action="javascript://" name="requestform" class="ui form request_form">

					<?php if ( apply_filters( 'wpj_request_custom_offer_display_description_filter', true ) ) { ?>

						<div class="field">

							<textarea name="content" placeholder="<?php _e( 'Request Message', 'wpjobster' ); ?>" class="request_message"></textarea>

						</div>

					<?php } ?>

					<input type="hidden" name="token" value="<?php echo wp_create_nonce( 'new-custom-offer-request' ); ?>" />
					<input type="hidden" name="user" value="<?php echo $post_author_id; ?>" />
					<input type="hidden" name="pid" value="<?php echo $pid; ?>" />
					<input type="hidden" name="page" value="<?php echo $page; ?>" />
					<input type="hidden" name="unique_id" value="<?php echo $unique_id; ?>" />
					<input type="hidden" name="custom_offer" value="-1" />

					<?php if ( wpj_get_option( 'wpjobster_message_attachments_enable' ) != 'no' ) { ?>

						<div class="field">

							<?php wpj_display_file_upload_form( $secure = 1, "file_upload_custom_offer_attachments_" . $unique_id, "hidden_files_custom_offer_attachments_" . $unique_id, "custom_offer" ); ?>

						</div>

					<?php }

					do_action( 'wpj_before_submit_request_button', $pid, 'request' ); ?>

					<div class="actions">

						<button class="ui positive uppercase labeled icon button custom-offer-btn" type="submit" name="request">

							<?php _e( 'Submit Request', 'wpjobster' ); ?>

							<i class="white checkmark icon"></i>

						</button>

					</div>

				</form>

			</div>

		</div>

	</div>

</div>