Skip to content

Commit

Permalink
Fix translateTitle in a form (area17#648)
Browse files Browse the repository at this point in the history
Co-authored-by: Quentin Renard <[email protected]>
  • Loading branch information
nacelley and ifox authored May 24, 2020
1 parent 2e5784c commit 8f5b0e2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Http/Controllers/Admin/ModuleController.php
Original file line number Diff line number Diff line change
Expand Up @@ -1361,6 +1361,7 @@ protected function form($id, $item = null)
'titleFormKey' => $this->titleFormKey ?? $this->titleColumnKey,
'publish' => $item->canPublish ?? true,
'translate' => $this->moduleHas('translations'),
'translateTitle' => $this->titleIsTranslatable(),
'permalink' => $this->getIndexOption('permalink'),
'form_fields' => $this->repository->getFormFields($item),
'baseUrl' => $baseUrl,
Expand Down

0 comments on commit 8f5b0e2

Please sign in to comment.