@if (!isset($type))
@else
@if($type == "richtext")
@endif
@if($type == "textarea")
@endif
@if($type == "tags")
@endif
@endif
@foreach($locales as $loc)
@if($loc->locale === $lang->locale)
@continue
@endif
@if (!isset($type))
@else
@if($type == "richtext")
@endif
@if($type == "textarea")
@endif
@if($type == "tags")
@endif
@endif
@endforeach