@extends('header') @section('content') {!! Former::open($url) ->addClass('col-lg-10 col-lg-offset-1 warn-on-exit') ->method($method) ->rules([ 'name' => 'required', ]) !!} @if ($category) {!! Former::populate($category) !!} @endif {!! Former::text('public_id') !!}
{!! Former::text('name') !!}
{!! Button::normal(trans('texts.cancel'))->large()->asLinkTo(HTMLUtils::previousUrl('/expense_categories'))->appendIcon(Icon::create('remove-circle')) !!} {!! Button::success(trans('texts.save'))->submit()->large()->appendIcon(Icon::create('floppy-disk')) !!}
{!! Former::close() !!} @stop