Skip to content

Commit

Permalink
[4.x] Fix for edit form page saying edit collection (#8967)
Browse files Browse the repository at this point in the history
Fix for edit form page saying edit collection
  • Loading branch information
ryanmitchell authored Nov 11, 2023
1 parent 17b7ac7 commit 377ec1a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion resources/js/components/collections/EditForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<header class="mb-6">
<breadcrumb :url="url" :title="values.title" />
<div class="flex items-center">
<h1 class="flex-1" v-text="__('Configure Collection')" />
<h1 class="flex-1" v-text="__(editTitle ?? 'Configure Collection')" />
<button type="submit" class="btn-primary" @click="submit">{{ __('Save') }}</button>
</div>
</header>
Expand All @@ -33,6 +33,7 @@ export default {
props: {
blueprint: Object,
editTitle: String,
initialValues: Object,
meta: Object,
url: String
Expand Down
1 change: 1 addition & 0 deletions resources/views/forms/edit.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

<collection-edit-form
initial-title="{{ $form->title() }}"
edit-title="Edit Form"
:blueprint="{{ json_encode($blueprint) }}"
:initial-values="{{ json_encode($values) }}"
:meta="{{ json_encode($meta) }}"
Expand Down

0 comments on commit 377ec1a

Please sign in to comment.