We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30e3953 commit 7bb7d9eCopy full SHA for 7bb7d9e
src/Efficiently/JqueryLaravel/helpers.php
@@ -60,7 +60,7 @@ function form_for($model, array $options = [])
60
}
61
62
if (! array_get($options, 'class')) {
63
- $prefix = $prefix ?: $model->exists ? 'edit' : 'create';
+ $prefix = $prefix ?: ($model->exists ? 'edit' : 'create');
64
$options['class'] = dom_class($model, $prefix);
65
66
@@ -121,7 +121,7 @@ function former_for($model, array $options = [])
121
122
123
124
125
126
127
0 commit comments