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

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

@lang($language_file.'.module')

{!! 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 @if($form_request != null ) @push('scripts') {!! JsValidator::formRequest($form_request, '#module_form') !!} @endpush @endif