소스 검색

[Form] removed extra blank line in textarea

mwsaz 14 년 전
부모
커밋
99bda3d8c4
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      src/Symfony/Bundle/FrameworkBundle/Resources/views/Form/textarea_field.php

+ 3 - 3
src/Symfony/Bundle/FrameworkBundle/Resources/views/Form/textarea_field.php

@@ -1,3 +1,3 @@
-<textarea id="<?php echo $field->getId() ?>" name="<?php echo $field->getName() ?>" <?php if ($field->isDisabled()): ?>disabled="disabled"<?php endif ?>>
-    <?php echo $view->escape($field->getDisplayedData()) ?>
-</textarea>
+<textarea id="<?php echo $field->getId() ?>" name="<?php echo $field->getName() ?>"<?php if ($field->isDisabled()): ?> disabled="disabled"<?php endif ?>><?php
+    echo $view->escape($field->getDisplayedData())
+?></textarea>