Skip to content

Commit d456588

Browse files
committed
Add navbar to views
1 parent e1ac5c7 commit d456588

File tree

3 files changed

+24
-9
lines changed

3 files changed

+24
-9
lines changed

src/Views/Templates/form.php

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
1-
<?= $this->extend(config('Layouts')->outbox) ?>
2-
<?= $this->section('main') ?>
1+
<?php $this->extend(config('Layouts')->outbox) ?>
2+
<?php $this->section('navbar') ?>
3+
4+
<?= view('Tatter\Outbox\Views\navbar') ?>
5+
6+
<?php $this->endSection() ?>
7+
<?php $this->section('main') ?>
38

49
<div class="row">
510
<div class="col">
@@ -39,4 +44,4 @@
3944
</div>
4045
</div>
4146

42-
<?= $this->endSection() ?>
47+
<?php $this->endSection() ?>

src/Views/Templates/index.php

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
1-
<?= $this->extend(config('Layouts')->outbox) ?>
2-
<?= $this->section('main') ?>
1+
<?php $this->extend(config('Layouts')->outbox) ?>
2+
<?php $this->section('navbar') ?>
3+
4+
<?= view('Tatter\Outbox\Views\navbar') ?>
5+
6+
<?php $this->endSection() ?>
7+
<?php $this->section('main') ?>
38

49
<div class="row">
510
<div class="col">
@@ -47,4 +52,4 @@
4752
</div>
4853
</div>
4954

50-
<?= $this->endSection() ?>
55+
<?php $this->endSection() ?>

src/Views/Templates/send.php

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
1-
<?= $this->extend(config('Layouts')->outbox) ?>
2-
<?= $this->section('main') ?>
1+
<?php $this->extend(config('Layouts')->outbox) ?>
2+
<?php $this->section('navbar') ?>
3+
4+
<?= view('Tatter\Outbox\Views\navbar') ?>
5+
6+
<?php $this->endSection() ?>
7+
<?php $this->section('main') ?>
38

49
<div class="row">
510
<div class="col">
@@ -71,4 +76,4 @@ class="form-control"
7176
</div>
7277
</div>
7378

74-
<?= $this->endSection() ?>
79+
<?php $this->endSection() ?>

0 commit comments

Comments
 (0)