<?php

require_once('config.php');
global $config;

require_once('page_template_dash_head.php');
require_once('page_template_dash_sidebar.php');

?>

  <div class="content-wrapper">
    <section class="content-header">
      <h1>
        Edit Election
        <small>Optional description</small>
      </h1>
      <ol class="breadcrumb">
        <li><a href="#"><i class="fa fa-dashboard"></i> Level</a></li>
        <li class="active">Here</li>
      </ol>
    </section>

    <section class="content">

      <!-- Your Page Content Here -->
     
    </section>
  </div>

<?php 

require_once('page_template_dash_foot.php');

?>
<?php

require_once('config.php');
global $config;

require_once('page_template_dash_head.php');
require_once('page_template_dash_sidebar.php');

$stmt = $pdo->prepare("SELECT `name` FROM `elections` WHERE `id`= ?");
$stmt->bindParam(1, $row["election"]);
$stmt->execute();
$election_name = $stmt->fetch(PDO::FETCH_NUM)[0];

?>

  <div class="content-wrapper">
    <section class="content-header">
      <h1>
        Edit Election
        <small><?php echo $election_name; ?></small>
      </h1>
      <ol class="breadcrumb">
        <li><i class="fa fa-th-list"></i> Elections</li>
        <li class="active"><?php echo $election_name; ?></li>
      </ol>
    </section>

    <section class="content">

      <!-- Your Page Content Here -->
     
    </section>
  </div>

<?php 

require_once('page_template_dash_foot.php');

?>
Add in election title to content pane
Add in election title to content pane