Symfony2フレームワークを使用して入力フィールドを生成するコードを変更しようとしています。彼がデフォルトのラベルでフィールドを作成するのは、この場合、フィールドの名前IDと同じです。"額"。
<?php
//++++++++++ descrizione
echo $view['form'] -> row($form["amount"], array(
//widget
"widgetArgs" => array(
"attr" => array(
'class' => 'input-small tooltipRight',
'id' => "gift_amount"
),
"tooltip"=>"gift.tooltip.amount",
"translation_domain" =>"brand"
),
"labelArgs" => array(
"label_attr" => array(
'class' => 'control-label',
)) ,"rowType"=>2
)
);
?>
これを編集してカスタムラベルを表示するにはどうすればよいですか?