@extends('layouts.default') @section('content') {{ Breadcrumbs::renderIfExists(Route::getCurrentRoute()->getName()) }} {{Form::open(['class' => 'form-horizontal','id' => 'store','url' => route('piggy_banks.store')])}}
Mandatory fields
{{Form::ffText('name')}} {{Form::ffSelect('account_id',$accounts,null,['label' => 'Save on account'])}} {{Form::ffAmount('targetamount')}}

Optional fields
{{Form::ffDate('targetdate')}} {{Form::ffCheckbox('remind_me','1',false,['label' => 'Remind me'])}} {{Form::ffSelect('reminder',$periods,'month',['label' => 'Remind every'])}}
Options
{{Form::ffOptionsList('create','piggy bank')}}
{{--

Mandatory fields

Optional fields

{{ Form::label('reminder', 'Remind you every', ['class' => 'col-sm-4 control-label'])}}
@if($errors->has('reminder'))

{{$errors->first('reminder')}}

@else Enter a number and a period and Firefly will remind you to add money to this piggy bank every now and then. @endif
--}} {{Form::close()}} @stop