<form role="form">
			<?php 
wp_nonce_field('theplatform_upload_nonce');
// Output a hidden WP User ID field if the plugin is configured to store it.
$tp_html->user_id_field();
// Output rows of all our writable metadata
$tp_html->metadata_fields();
if (!defined('TP_MEDIA_BROWSER')) {
    $tp_html->profiles_and_servers("upload");
} else {
    ?>
				<div class="form-row" style="margin-top: 10px;">
					<div class="column-half">
						<button id="theplatform_edit_button" class="tp-input button button-primary" type="button"
						        name="theplatform-edit-button">Submit
						</button>
					</div>
				</div>
			<?php 
}
?>
		</form>
	</div> <!-- end of responsive-form div -->
<?php 
if (defined('TP_MEDIA_BROWSER')) {
    // Write all of our edit dialog tabs
    $tp_html->edit_tabs_content();
} else {
    ?>
	</div> <!-- end of wrap div --> <?php 
}