aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/views/default/forms/discussion/save.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-12 16:00:36 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-12 16:00:36 +0000
commit2c65422f47c0bb1db7ae7e866b87a4749bc2b6f4 (patch)
tree00a3fb36e9f06c3ed952d6885a33068354a4705c /mod/groups/views/default/forms/discussion/save.php
parentf360dbbcf65fdbe8b6b413f2e5d6e114b6f23679 (diff)
downloadelgg-2c65422f47c0bb1db7ae7e866b87a4749bc2b6f4.tar.gz
elgg-2c65422f47c0bb1db7ae7e866b87a4749bc2b6f4.tar.bz2
recommended to use <div> in forms for wrapping content - added css to support that and updated all group forms
git-svn-id: http://code.elgg.org/elgg/trunk@8161 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/groups/views/default/forms/discussion/save.php')
-rw-r--r--mod/groups/views/default/forms/discussion/save.php25
1 files changed, 13 insertions, 12 deletions
diff --git a/mod/groups/views/default/forms/discussion/save.php b/mod/groups/views/default/forms/discussion/save.php
index 418a7532f..751cd521d 100644
--- a/mod/groups/views/default/forms/discussion/save.php
+++ b/mod/groups/views/default/forms/discussion/save.php
@@ -13,19 +13,19 @@ $container_guid = elgg_get_array_value('container_guid', $vars);
$guid = elgg_get_array_value('guid', $vars, null);
?>
-<p>
+<div>
<label><?php echo elgg_echo('title'); ?></label><br />
<?php echo elgg_view('input/text', array('internalname' => 'title', 'value' => $title)); ?>
-</p>
-<p>
+</div>
+<div>
<label><?php echo elgg_echo('groups:topicmessage'); ?></label>
<?php echo elgg_view('input/longtext', array('internalname' => 'description', 'value' => $desc)); ?>
-</p>
-<p>
+</div>
+<div>
<label><?php echo elgg_echo('tags'); ?></label>
<?php echo elgg_view('input/tags', array('internalname' => 'tags', 'value' => $tags)); ?>
-</p>
-<p>
+</div>
+<div>
<label><?php echo elgg_echo("groups:topicstatus"); ?></label><br />
<?php
echo elgg_view('input/dropdown', array(
@@ -36,12 +36,13 @@ $guid = elgg_get_array_value('guid', $vars, null);
'closed' => elgg_echo('groups:topicclosed'),
),
));
- ?>
-<p>
+ ?>
+</div>
+<div>
<label><?php echo elgg_echo('access'); ?></label><br />
<?php echo elgg_view('input/access', array('internalname' => 'access_id', 'value' => $access_id)); ?>
-</p>
-<p>
+</div>
+<div>
<?php
echo elgg_view('input/hidden', array('internalname' => 'container_guid', 'value' => $container_guid));
@@ -53,4 +54,4 @@ if ($guid) {
echo elgg_view('input/submit', array('value' => elgg_echo("save")));
?>
-</p>
+</div>