Can now successfully act on reminders.

This commit is contained in:
James Cole
2015-03-08 20:20:58 +01:00
parent d9028ed9b7
commit 5218443678
7 changed files with 30 additions and 6 deletions

View File

@@ -26,7 +26,7 @@
<div class="btn-group">
@if($reminder->active === true)
<a class="btn btn-warning" href="{{route('reminders.dismiss',$reminder->id)}}">Dismiss</a>
<a class="btn btn-success" href="#">Act</a>
<a class="btn btn-success" href="{{route('reminders.act',$reminder->id)}}">Act</a>
@endif
</div>
</div>

View File

@@ -28,7 +28,7 @@
<div class="btn-group">
@if($reminder->active === true)
<a class="btn btn-warning" href="{{route('reminders.dismiss',$reminder->id)}}">Dismiss</a>
<a class="btn btn-success" href="#">Act</a>
<a class="btn btn-success" href="{{route('reminders.act',$reminder->id)}}">Act</a>
@endif
</div>
</div>

View File

@@ -2,7 +2,7 @@
@section('content')
{!! Breadcrumbs::renderIfExists(Route::getCurrentRoute()->getName(), $what) !!}
{!! Form::open(['class' => 'form-horizontal','id' => 'store','url' => route('transactions.store',$what)]) !!}
{!! Form::hidden('reminder',Input::get('reminder_id')) !!}
{!! Form::hidden('reminder_id',Input::get('reminder_id')) !!}
{!! Form::hidden('what',$what) !!}
<div class="row">