@extends('layouts.app') @section('content') @if(\Auth::user()->hasRole('admin')) @include('settings::partial.menu') @endif

@lang($language_file.'.module')

@lang($language_file.'.module') - @lang('core::core.crud.create') @lang($language_file.'.module_description')

{!! form_start($form, ['class' => 'row']) !!} @foreach($show_fields as $panelName => $panel) {{ Html::section($language_file,$panelName) }} @foreach($panel as $fieldName => $options) @if(!isset($options['hide_in_form'])) @if($loop->iteration % 2 == 0)
@else
@endif {!! form_row($form->{$fieldName}) !!}
@endif @endforeach @endforeach {!! form_end($form, $renderRest = true) !!}
@endsection @push('scripts') @foreach($jsFiles as $jsFile) @endforeach @endpush @if($form_request != null ) @push('scripts') {!! JsValidator::formRequest($form_request, '#module_form') !!} @endpush @endif