firefly-iii/resources/views/budgets/edit.blade.php

50 lines
1.7 KiB
PHP
Raw Normal View History

2015-02-22 02:46:21 -06:00
@extends('layouts.default')
@section('content')
2015-02-22 08:40:13 -06:00
{!! Breadcrumbs::renderIfExists(Route::getCurrentRoute()->getName(), $budget) !!}
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12">
<p class="lead">Use budgets to organize and limit your expenses.</p>
</div>
2015-02-22 02:46:21 -06:00
</div>
2015-02-22 08:40:13 -06:00
{!! Form::model($budget, ['class' => 'form-horizontal','id' => 'update','url' => route('budgets.update',$budget->id)]) !!}
<input type="hidden" name="id" value="{{$budget->id}}" />
<div class="row">
<div class="col-lg-6 col-md-12 col-sm-6">
<div class="panel panel-primary">
<div class="panel-heading">
<i class="fa fa-fw fa-exclamation"></i> Mandatory fields
</div>
<div class="panel-body">
{!! ExpandedForm::checkbox('active') !!}
2015-02-22 08:40:13 -06:00
{!! ExpandedForm::text('name') !!}
</div>
2015-02-22 02:46:21 -06:00
</div>
2015-04-26 00:42:55 -05:00
2015-02-22 02:46:21 -06:00
</div>
2015-02-22 08:40:13 -06:00
<div class="col-lg-6 col-md-12 col-sm-6">
<!-- panel for options -->
<div class="panel panel-default">
<div class="panel-heading">
<i class="fa fa-bolt"></i> Options
</div>
<div class="panel-body">
{!! ExpandedForm::optionsList('update','budget') !!}
</div>
2015-02-22 02:46:21 -06:00
</div>
</div>
</div>
2015-04-26 00:42:55 -05:00
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
<p>
<button type="submit" class="btn btn-lg btn-success">
<i class="fa fa-pencil"></i> Update budget
</button>
</p>
</div>
</div>
2015-02-22 08:40:13 -06:00
{!! Form::close() !!}
2015-02-22 02:46:21 -06:00
@stop