</span>
								<br/><br/><?php 
echo awpcp_form_error('assign_user', $form_errors);
?>
							</td>
						</tr>
						<tr>
							<th scope="row">
								<label for="awpcp-importer-user"><?php 
echo esc_html(__('Default user', 'AWPCP'));
?>
</label>
							</th>
							<td>
                                <?php 
echo awpcp_users_field()->render(array('selected' => empty($assigned_user) ? null : $assigned_user, 'label' => false, 'default' => __('use spreadsheet information', 'AWPCP'), 'id' => 'awpcp-importer-user', 'name' => 'user', 'include-full-user-information' => false));
?>
<br/>
								<span class="description"><?php 
echo esc_html(_x("Any value other than 'use spreadsheet information' means the Ads will be associated to the selected user if: the username column is not present in the CSV file, there is no user with that username and we couldn't find a user with the contact_email address specified in the CSV file.", 'csv-importer', 'AWPCP'));
?>
</span>
								<br/><br/><?php 
echo awpcp_form_error('user', $form_errors);
?>
							</td>
						</tr>
					</tbody>
				</table>

				<p class="submit">
" />
        <?php 
}
?>

        <?php 
if ($ui['user-dropdown']) {
    ?>

        <h3><?php 
    echo esc_html(__('Ad Owner', 'AWPCP'));
    ?>
</h3>
        <p class="awpcp-form-spacer">
            <?php 
    echo awpcp_users_field()->render(array('required' => awpcp_get_option('requireuserregistration'), 'selected' => awpcp_array_data('user_id', $edit ? null : '', $form), 'label' => __('User', 'AWPCP'), 'default' => __('Select an User owner for this Ad', 'AWPCP'), 'id' => 'ad-user-id', 'name' => 'user', 'class' => array('awpcp-users-dropdown', 'awpcp-dropdown')));
    ?>
            <?php 
    echo awpcp_form_error('user', $errors);
    ?>
        </p>

        <?php 
}
?>

        <?php 
if ($ui['start-end-date']) {
    ?>

        <h3><?php 
?>
        <?php 
echo awpcp_form_error('category', $form_errors);
?>
    </p>

    <?php 
if (awpcp_current_user_is_moderator()) {
    ?>
    <h3><?php 
    echo esc_html(_x('Please select the owner for this Ad', 'place ad order step', 'AWPCP'));
    ?>
</h3>
    <p class="awpcp-form-spacer">
        <?php 
    echo awpcp_users_field()->render(array('required' => true, 'selected' => awpcp_array_data('user', '', $form), 'label' => __('User', 'AWPCP'), 'default' => __('Select an User owner for this Ad', 'AWPCP'), 'id' => 'ad-user-id', 'name' => 'user', 'class' => array('awpcp-users-dropdown', 'awpcp-dropdown')));
    ?>
        <?php 
    echo awpcp_form_error('user', $form_errors);
    ?>
    </p>
    <?php 
}
?>

    <?php 
if (!$skip_payment_term_selection) {
    ?>
    <?php 
    echo $payments->render_payment_terms_form_field($transaction, $table, $form_errors);
    ?>