aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/views/default/forms/forums/addpost.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/groups/views/default/forms/forums/addpost.php')
-rw-r--r--mod/groups/views/default/forms/forums/addpost.php42
1 files changed, 18 insertions, 24 deletions
diff --git a/mod/groups/views/default/forms/forums/addpost.php b/mod/groups/views/default/forms/forums/addpost.php
index 004638f33..8aa316caa 100644
--- a/mod/groups/views/default/forms/forums/addpost.php
+++ b/mod/groups/views/default/forms/forums/addpost.php
@@ -13,28 +13,22 @@
*/
?>
- <form action="<?php echo $vars['url']; ?>action/groups/addpost" method="post">
- <p class="longtext_editarea">
- <label><?php echo elgg_echo("groups:reply"); ?><br />
- <?php
-
- echo elgg_view("input/longtext",array(
- "internalname" => "topic_post",
- "value" => $body,
- ));
- ?>
- </label>
- </p>
- <p>
- <!-- pass across the topic guid -->
- <input type="hidden" name="topic_guid" value="<?php echo $vars['entity']->guid; ?>" />
- <input type="hidden" name="group_guid" value="<?php echo $vars['entity']->container_guid; ?>" />
-
-<?php
- echo elgg_view('input/securitytoken');
-?>
- <!-- display the save button -->
- <input type="submit" class="submit_button" value="<?php echo elgg_echo('save'); ?>" />
- </p>
+<form action="<?php echo $vars['url']; ?>action/groups/addpost" method="post" class="margin_top">
+ <label><?php echo elgg_echo("groups:reply"); ?><br />
+ <?php
- </form> \ No newline at end of file
+ echo elgg_view("input/longtext",array(
+ "internalname" => "topic_post",
+ "value" => $body,
+ ));
+ ?>
+ </label>
+
+ <!-- pass across the topic guid -->
+ <input type="hidden" name="topic_guid" value="<?php echo $vars['entity']->guid; ?>" />
+ <input type="hidden" name="group_guid" value="<?php echo $vars['entity']->container_guid; ?>" />
+
+ <?php echo elgg_view('input/securitytoken'); ?>
+ <!-- display the save button -->
+ <input type="submit" class="submit_button" value="<?php echo elgg_echo('post'); ?>" />
+</form> \ No newline at end of file