@extends('layouts.default') @section('content') {!! Breadcrumbs::renderIfExists(Route::getCurrentRoute()->getName()) !!} {!! Form::open(['class' => 'form-horizontal','id' => 'store','url' => route('repeated.store')]) !!}
Mandatory fields
{!! ExpandedForm::text('name') !!} {!! ExpandedForm::select('account_id',$accounts,null,['label' => 'Save on account']) !!} {!! ExpandedForm::amount('targetamount') !!} {!! ExpandedForm::date('targetdate',null,['label' => 'First target date']) !!} {!! ExpandedForm::select('rep_length',$periods,'month',['label' => 'Repeats every']) !!} {!! ExpandedForm::integer('rep_every',0,['label' => 'Skip period']) !!} {!! ExpandedForm::integer('rep_times',0,['label' => 'Repeat times']) !!}

Optional fields
{!! ExpandedForm::checkbox('remind_me','1',false,['label' => 'Remind me']) !!} {!! ExpandedForm::select('reminder',$periods,'month',['label' => 'Remind every']) !!}
Options
{!! ExpandedForm::optionsList('create','repeated expense') !!}
{!! Form::close() !!} @stop