バージョン選択

フォーラム

メニュー

オンライン状況

54 人のユーザが現在オンラインです。 (49 人のユーザが フォーラム を参照しています。)
登録ユーザ: 0
ゲスト: 54
もっと...

サイト内検索

質問 > その他 > FormTypeのsubmitのエラーについて

その他

新規スレッドを追加する

スレッド表示 | 新しいものから 前のトピック | 次のトピック | 下へ
投稿者 スレッド
yuy-tank
投稿日時: 2017/12/19 11:54
対応状況: 確認中
一人前
登録日: 2017/11/10
居住地:
投稿: 72
FormTypeのsubmitのエラーについて
カスタムでフォームタイプを作り、

$builder
->add('save', 'submit', array(
'attr' => array('class' => 'save'),
));

として、Twigファイルで

{{ form_widget(form.save) }}

としてもエラーになります。'submit'を'text'にするとテキストが表示されるので、他は間違ってないと想います。ちなみにエラーメッセージは以下の二つです。
(admin_formはtwigファイルとFormTypeの名前です。)


1.Unable to render the form as none of the following blocks exist: "_admin_form_save_errors", "submit_errors", "button_errors".


2.An exception has been thrown during the rendering of a template ("Unable to render the form as none of the following blocks exist: "_admin_form_save_errors", "submit_errors", "button_errors"."




宜しければ表示できない原因を教えてください
スレッド表示 | 新しいものから 前のトピック | 次のトピック | トップ


 



ログイン


EC-CUBE公式 Amazon Payプラグイン

統計情報

総メンバー数は88,717名です
総投稿数は109,952件です

投稿数ランキング

1
seasoft
7367
2
468
3217
3
AMUAMU
2712
4
nanasess
2313
5
umebius
2085
6
yuh
1819
7
h_tanaka
1638
8
red
1570
9
mcontact
1285
10
tsuji
958
11
fukap
907
12
shutta
835
13
tao_s
799
14 ramrun 789
15 karin 689
16 sumida 641
17
homan
633
18 DELIGHT 572
19
patapata
502
20
flealog
485


ネットショップの壺

EC-CUBEインテグレートパートナー

Copyright© EC-CUBE CO.,LTD. All Rights Reserved.