@extends ('backend.layouts.app')

@section ('title', trans('labels.backend.dummy_small_plural_model.management') . ' | ' . trans('labels.backend.dummy_small_plural_model.edit'))

@section('page-header')
    <h1>
        {{ trans('labels.backend.dummy_small_plural_model.management') }}
        <small>{{ trans('labels.backend.dummy_small_plural_model.edit') }}</small>
    </h1>
@endsection

@section('content')
    {{ Form::model($dummy_small_model, ['route' => ['admin.dummy_small_plural_model.update', $dummy_small_model], 'class' => 'form-horizontal', 'role' => 'form', 'method' => 'PATCH', 'id' => 'edit-dummy_small_model']) }}

        <div class="box box-success">
            <div class="box-header with-border">
                <h3 class="box-title">{{ trans('labels.backend.dummy_small_plural_model.edit') }}</h3>

                <div class="box-tools pull-right">
                    @include('backend.dummy_small_plural_model.partials.dummy_small_plural_model-header-buttons')
                </div><!--box-tools pull-right-->
            </div><!--box-header with-border-->

            <div class="box-body">
                <div class="form-group">
                    {{-- Including Form blade file --}}
                    @include("backend.dummy_small_plural_model.form")
                    <div class="edit-form-btn">
                        {{ link_to_route('admin.dummy_small_plural_model.index', trans('buttons.general.cancel'), [], ['class' => 'btn btn-danger btn-md']) }}
                        {{ Form::submit(trans('buttons.general.crud.update'), ['class' => 'btn btn-primary btn-md']) }}
                        <div class="clearfix"></div>
                    </div><!--edit-form-btn-->
                </div><!--form-group-->
            </div><!--box-body-->
        </div><!--box box-success -->
    {{ Form::close() }}
@endsection
