<div class="ui modal smaller request-modification modal-content-request-modification">

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

	<div class="ui icon header">

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

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

	</div>

	<div class="content">

		<div class="ui form">

			<?php if ( $order->uid == get_current_user_id() ) { ?>

				<div class="field">

					<p><?php _e( 'You are about to request modification for this job. By using this option you are asking the seller to modify the final product that you received.', 'wpjobster' ); ?></p>

				</div>

				<div class="field">

					<textarea class="textarea-orange" rows="4" id="message_to_seller" name="message_request_modification" cols="40" required="required" placeholder="<?php _e( 'Your message to the seller:', 'wpjobster' ); ?>"></textarea>

				</div>

			<?php } else { ?>

				<div class="field">

					<p><?php _e( 'You are not allowed to request a modification for this order.', 'wpjobster' ); ?></p>

				</div>

			<?php } ?>

		</div>

	</div>

	<?php if ( $order->uid == get_current_user_id() ) { ?>

		<div class="actions">

			<button class="ui yellow labeled icon button js-request-modification">

				<?php _e( 'Confirm', 'wpjobster' ); ?>

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

			</button>

			<button class="ui cancel labeled icon button">

				<?php _e( 'Cancel', 'wpjobster' ); ?>

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

			</button>

		</div>

	<?php } ?>

</div>