Display buttons for earnings/spendings creation on dashboard
MODIFY
resources/views/dashboard/index.blade.php
resources/views/dashboard/index.blade.php
@section('body')
<h1>Dashboard</h1>
- <h2 class="spacing-top-large spacing-bottom-medium">Earnings</h2>
+ <div class="row spacing-top-large spacing-bottom-medium">
+ <div class="column align-middle">
+ <h2>Earnings</h2>
+ </div>
+ <div class="column align-right">
+ <a href="/earnings/create" class="button">Create</a>
+ </div>
+ </div>
<div class="box">
<table>
<tbody>
</tbody>
</table>
</div>
- <h2 class="spacing-top-large spacing-bottom-medium">Spendings</h2>
+ <div class="row spacing-top-large spacing-bottom-medium">
+ <div class="column align-middle">
+ <h2>Spendings</h2>
+ </div>
+ <div class="column align-right">
+ <a href="/spendings/create" class="button">Create</a>
+ </div>
+ </div>
<div class="box">
<table>
<tbody>

Display buttons for earnings/spendings creation on dashboard