@extends('layouts/default')

@section('title')
$MODEL_NAME$
@parent
@stop

@section('content')
@include('core-templates::common.errors')
<section class="content-header">
    <h1>$MODEL_NAME$</h1>
    <ol class="breadcrumb">
        <li>
            <a href="{{ route('dashboard') }}"> <i class="livicon" data-name="home" data-size="16" data-color="#000"></i>
                Dashboard
            </a>
        </li>
        <li>$MODEL_NAME_PLURAL$</li>
        <li class="active">Create $MODEL_NAME$ </li>
    </ol>
</section>
<section class="content paddingleft_right15">
<div class="row">
    <div class="col-sm-12">
     <div class="card panel-primary">
            <div class="card-heading">
                <h4 class="card-title"> <i class="livicon" data-name="user" data-size="16" data-loop="true" data-c="#fff" data-hc="white"></i>
                    Create New  $MODEL_NAME$
                </h4></div>
            <br />
            <div class="card-body">
            {!! Form::open(['route' => '$ROUTE_NAMED_PREFIX$$MODEL_NAME_PLURAL_CAMEL$.store']) !!}

                @include('$VIEW_PREFIX$$MODEL_NAME_PLURAL_CAMEL$.fields')

            {!! Form::close() !!}
        </div>
      </div>
      </div>
 </div>
</section>
 @stop
@section('footer_scripts')
    <script type="text/javascript">
        $(document).ready(function() {
            $("form").submit(function() {
                $('input[type=submit]').attr('disabled', 'disabled');
                return true;
            });
        });
    </script>
@stop
