@extends('layouts.app') @section('title_full', __('Custom Fields').' - '.$mailbox->name) @section('body_attrs')@parent data-mailbox_id="{{ $mailbox->id }}"@endsection @section('sidebar') @include('partials/sidebar_menu_toggle') @include('mailboxes/sidebar_menu') @endsection @section('content')
{{ __('Custom Fields') }}{{ __('New Custom Field') }}
@if (count($custom_fields))
@foreach ($custom_fields as $custom_field)
@include('customfields::partials/form_update', ['mode' => 'update'])
{{ __('Delete') }}
@endforeach
@else @include('partials/empty', ['icon' => 'th-list', 'empty_header' => __("Store additional data on conversations!"), 'empty_text' => __('Custom fields let you add things like text boxes, dropdown lists, date pickers, and other fields to conversations so you can store additional information.')]) @endif @endsection @section('javascript') @parent initCustomFieldsAdmin(); @endsection