Skip to content

Commit

Permalink
Fix escaped single quotes in form field definitions [WEB-2984]
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhiltri committed Jan 17, 2025
1 parent 997bc2f commit 233e1e9
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion resources/views/twill/articles/form.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@

@formField('checkbox', [
'name' => 'is_unlisted',
'label' => 'Don\'t show this article in listings',
'label' => "Don't show this article in listings",
])

@formField('checkbox', [
Expand Down
2 changes: 1 addition & 1 deletion resources/views/twill/experiences/form.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@

@formField('checkbox', [
'name' => 'is_unlisted',
'label' => 'Don\'t show this experience in listings',
'label' => "Don't show this experience in listings",
])

@formField('checkbox', [
Expand Down
2 changes: 1 addition & 1 deletion resources/views/twill/highlights/form.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@

@formField('checkbox', [
'name' => 'is_unlisted',
'label' => 'Don\'t show this highlight in listings',
'label' => "Don't show this highlight in listings",
])

@formField('checkbox', [
Expand Down
4 changes: 2 additions & 2 deletions resources/views/twill/magazineIssues/form.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
'name' => 'welcome_note_display',
'label' => 'Preview text',
'maxlength' => 255,
'note' => 'If empty, we use the article\'s "List description"',
'note' => "If empty, we use the article's \"List description\"",
'toolbarOptions' => [
'italic'
],
Expand All @@ -83,7 +83,7 @@
@formField('input', [
'name' => 'welcome_note_author_override',
'label' => 'Author override',
'note' => 'If empty, we use the article\'s author logic'
'note' => "If empty, we use the article's author logic"
])
</a17-fieldset>

Expand Down
2 changes: 1 addition & 1 deletion resources/views/twill/pressReleases/form.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@

@formField('checkbox', [
'name' => 'is_unlisted',
'label' => 'Don\'t show this press release in listings',
'label' => "Don't show this press release in listings",
])

@formField('block_editor', [
Expand Down

0 comments on commit 233e1e9

Please sign in to comment.