<div class="<?php echo $journal3->classes($classes); ?>">
  <button aria-label="Edit" class="admin-edit" type="button" data-edit="<?php echo $edit; ?>"><em class="fa fa-pencil" data-placement="auto" data-toggle="tooltip-hover" data-tooltip-class="admin-edit-tooltip" title="Edit <?php echo $name; ?>"></em></button>
  <div class="title-wrapper">
    <?php if ($label): ?>
      <div class="title-label"><?php echo $label; ?></div>
    <?php endif; ?>
    <?php if ($title): ?>
      <div class="title-main">
        <h3><?php echo $title; ?></h3>
        <?php if ($inline_button_text): ?>
          <a class="btn title-inline-btn" <?php if ($inline_button_link['href']): ?>href="<?php echo $inline_button_link['href']; ?>" <?php echo $journal3->linkAttrs($inline_button_link); ?><?php else: ?>href="javascript:;"<?php endif; ?>><span><?php echo $inline_button_text; ?></span></a>
        <?php endif; ?>
      </div>
    <?php endif; ?>
    <div class="title-divider"></div>
    <div class="subtitle"><?php echo $subtitle; ?></div>
    <?php if ($button_1_text || $button_2_text): ?>
    <div class="title-buttons">
      <?php if ($button_1_text): ?>
      <a class="btn title-btn-1" <?php if ($button_1_link['href']): ?>href="<?php echo $button_1_link['href']; ?>" <?php echo $journal3->linkAttrs($button_1_link); ?><?php else: ?>href="javascript:;"<?php endif; ?>><span><?php echo $button_1_text; ?></span></a>
      <?php endif; ?>
      <?php if ($button_2_text): ?>
      <a class="btn title-btn-1" <?php if ($button_2_link['href']): ?>href="<?php echo $button_2_link['href']; ?>" <?php echo $journal3->linkAttrs($button_2_link); ?><?php else: ?>href="javascript:;"<?php endif; ?>><span><?php echo $button_2_text; ?></span></a>
      <?php endif; ?>
    </div>
    <?php endif; ?>
  </div>
</div>
