# formidable/3.06.06/classes/views/shared/admin-header.php

Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes &amp; More, version 3.06.06. 36 lines.

- Page: https://pluginprobe.com/plugins/formidable/3.06.06/code/classes/views/shared/admin-header.php
- Raw: https://pluginprobe.com/plugins/formidable/3.06.06/raw/classes/views/shared/admin-header.php
- Modified: 2019-05-03T22:58:28+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/formidable/3.06.06/code/classes/views/shared/admin-header.php#L10-L20`.

```php
<div id="frm_top_bar">
	<?php

	// Add form nav
	if ( $has_nav ) {
		FrmAppController::get_form_nav( $atts['form'], true, 'hide' );
	} else {

	?>

	<div class="frm_top_left">
	<h1><?php echo esc_html( $atts['label'] ); ?>
		<?php FrmAppHelper::add_new_item_link( $atts ); ?>
		<?php if ( isset( $atts['cancel_link'] ) ) { ?>
			<a href="<?php echo esc_url( $atts['cancel_link'] ) ?>" class="add-new-h2 frm_animate_bg"><?php esc_html_e( 'Cancel', 'formidable' ); ?></a>
		<?php } ?>
	</h1>
	</div>
	<?php
	}
	?>

	<div class="clear"></div>
</div>

<?php if ( isset( $atts['form'] ) && ! empty( $atts['form'] ) && ! isset( $atts['hide_title'] ) ) { ?>
    <h<?php echo $has_nav ? 1 : 2 ?> id="frm_form_heading">
		<?php
		echo esc_html( strip_tags( '' === $atts['form']->name ? __( '(no title)', 'formidable' ) : $atts['form']->name ) );
		if ( $has_nav ) {
			FrmAppHelper::add_new_item_link( $atts );
		}
		?>
	</h<?php echo $has_nav ? 1 : 2 ?>>
<?php } ?>

```
