Add create buttons to earnings/spending's index view
MODIFY
resources/views/earnings/index.blade.php
resources/views/earnings/index.blade.php
@extends('layout')
@section('body')
+ <div class="row spacing-bottom-large">
+ <div class="column align-middle">
<h1>Earnings</h1>
- <div class="box spacing-top-large">
+ </div>
+ <div class="column align-right">
+ <a href="/earnings/create" class="button">Create</a>
+ </div>
+ </div>
+ <div class="box">
<table>
<tbody>
@foreach ($earnings as $earning)

MODIFY
resources/views/spendings/index.blade.php
resources/views/spendings/index.blade.php
@extends('layout')
@section('body')
+ <div class="row spacing-bottom-large">
+ <div class="column align-middle">
<h1>Spendings</h1>
- <div class="box spacing-top-large">
+ </div>
+ <div class="column align-right">
+ <a href="/spendings/create" class="button">Create</a>
+ </div>
+ </div>
+ <div class="box">
<table>
<tbody>
@foreach ($spendings as $spending)

Add create buttons to earnings/spending's index view