@stack('recurring_row_start') @if (!$hideRecurring)
@if (!empty($document)) {{ Form::recurring('edit', $document, 'col-md-12') }} @else {{ Form::recurring('create', null, 'col-md-12') }} @endif
@endif @stack('recurring_row_end') @stack('more_row_start') @if (!$hideCategory || !$hideAttachment)
@if (!$hideCategory) {{ Form::selectRemoteAddNewGroup('category_id', trans_choice('general.categories', 1), 'folder', $categories, $document->category_id ?? setting('default.' . $categoryType . '_category'), ['required' => 'required', 'path' => route('modals.categories.create') . '?type=' . $categoryType, 'remote_action' => route('categories.index'). '?search=type:' . $categoryType], $more_form_class) }} @endif @if (!$hideAttachment) {{ Form::fileGroup('attachment', trans('general.attachment'), '', ['dropzone-class' => 'form-file'], null, $more_form_class) }} @endif
@endif @stack('more_row_end')