<div class="themes-php">

	<div class="wrap">

		<h2><?php esc_html_e( 'Sidebars', 'gauge' ); ?></h2>
	
		<?php $this->message(); ?>
		
		<div id="poststuff">

			<?php global $wp_registered_sidebars; ?>

			<div id="customsidebarspage">

				<div id="poststuff">

					<form action="themes.php?page=sidebars" method="post">

						<?php wp_nonce_field( 'ghostpool_edit_sidebar_action' ); ?>

						<table class="form-table">
							<tbody>
								<tr>
									<th scope="row">
										<label for="sidebar_id"><?php esc_html_e( 'ID', 'gauge' ); ?></label>
									</th>
									<td>
										<input type="text" name="sidebar_id" value="<?php echo esc_attr( $sb['id'] ); ?>" readonly="readonly" size="30" />
									</td>
								</tr>	
								<tr>
									<th scope="row">
										<label for="sidebar_name"><?php esc_html_e( 'Name', 'gauge' ); ?></label>
									</th>
									<td>
										<input type="text" name="sidebar_name" value="<?php echo esc_attr( $sb['name'] ); ?>" id="title" size="30" />
									</td>
								</tr>
								<tr>
									<th scope="row">
										<label for="sidebar_description"><?php esc_html_e( 'Description', 'gauge' ); ?></label>
									</th>
									<td>
										<input type="text" name="sidebar_description" value="<?php echo esc_attr( $sb['description'] ); ?>" size="30" />
									</td>
								</tr>
							</tbody>
						</table>	

						<p class="submit"><input type="submit" class="button-primary" name="update-sidebar" value="<?php esc_html_e( 'Save Changes', 'gauge' ); ?>" /></p>
						
					</form>

				</div>

			</div>

		</div>
	
	</div>

</div>