aboutsummaryrefslogtreecommitdiff
path: root/views/default/input/longtext.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/input/longtext.php')
-rw-r--r--views/default/input/longtext.php16
1 files changed, 2 insertions, 14 deletions
diff --git a/views/default/input/longtext.php b/views/default/input/longtext.php
index a19c7dde8..6366f8a3d 100644
--- a/views/default/input/longtext.php
+++ b/views/default/input/longtext.php
@@ -15,19 +15,7 @@
*/
$defaults = array(
- 'class' => 'input-textarea',
+ 'class' => 'input-richtext',
);
-$overrides = array(
- 'tag' => 'textarea',
-);
-
-$args = array_merge($defaults, $vars, $overrides);
-
-if (isset($args['value'])) {
- $args['body'] = $args['value'];
-}
-
-$args['class'] = $args['class'].' input-richtext';
-
-echo elgg_view('html/tag', $args); \ No newline at end of file
+echo elgg_view('html/textarea', array_merge($defaults, $vars)); \ No newline at end of file