@extends('admin.layouts.layout') @section('content')
@if (count($errors) > 0)
@foreach ($errors->all() as $e)

{{ $e }}

@endforeach
@endif

{{ucfirst($module_data->label)}}

@csrf @if(isset($parent_module))
@endif
@php $lang = 'en'; @endphp @foreach($module_fields as $field) @if($lang != $field->lang)

{{$lang_list[$field->lang]}}

@php $lang = $field->lang; @endphp @endif @php $column_name = $field->column_name; @endphp
@if($field->column_type == "text") @elseif($field->column_type == "textarea") @elseif($field->column_type == "html") @elseif($field->column_type == "image") @if(isset($collection->$column_name) && $collection->$column_name != "") @endif @elseif($field->column_type == "date") @endif
@endforeach
@endsection