]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Fixes #3579 using input/plaintext in the wire form
authorCash Costello <cash.costello@gmail.com>
Tue, 28 Jun 2011 11:47:37 +0000 (07:47 -0400)
committerCash Costello <cash.costello@gmail.com>
Tue, 28 Jun 2011 11:47:37 +0000 (07:47 -0400)
mod/thewire/views/default/forms/thewire/add.php

index 743294dcc9ca1b215e1886b6787f15ab1ee8cfb3..8607b3662930b33a445dcf6131bb9998d01acfcc 100644 (file)
@@ -20,8 +20,13 @@ if ($post) {
                'value' => $post->guid,
        ));
 }
+
+echo elgg_view('input/plaintext', array(
+       'name' => 'body',
+       'class' => 'mtm',
+       'id' => 'thewire-textarea',
+));
 ?>
-<textarea id="thewire-textarea" name="body" class="mtm"></textarea>
 <div id="thewire-characters-remaining">
        <span>140</span> <?php echo elgg_echo('thewire:charleft'); ?>
 </div>