Skip to content

Commit

Permalink
use "form_row" for form field generate in Twig files
Browse files Browse the repository at this point in the history
  • Loading branch information
Haehnchen committed Sep 3, 2023
1 parent 690da58 commit 32b2867
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ private static void extracted(@NotNull Project project, @NotNull Editor editor,
StringBuilder s = new StringBuilder();

for (String string : strings) {
s.append(String.format("{{ form_widget(%s.%s) }}\n", next.key, string));
s.append(String.format("{{ form_row(%s.%s) }}\n", next.key, string));
}

PhpInsertHandlerUtil.insertStringAtCaret(editor, s.toString());
Expand Down

0 comments on commit 32b2867

Please sign in to comment.