aboutsummaryrefslogtreecommitdiff
path: root/views/default/widgets/wrapper.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/widgets/wrapper.php')
-rw-r--r--views/default/widgets/wrapper.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/views/default/widgets/wrapper.php b/views/default/widgets/wrapper.php
index 8d589aabd..20faf85a8 100644
--- a/views/default/widgets/wrapper.php
+++ b/views/default/widgets/wrapper.php
@@ -27,12 +27,12 @@ $widget_instance = "widget_instance_$handler";
<div class="widget draggable <?php echo $widget_instance?>" id="<?php echo $widget_id; ?>">
<div class="widget_title drag_handle">
<h3><?php echo $title; ?></h3>
- <?php
- if ($can_edit) {
- echo elgg_view('widgets/controls', array('widget' => $widget));
- }
- ?>
</div>
+ <?php
+ if ($can_edit) {
+ echo elgg_view('widgets/controls', array('widget' => $widget));
+ }
+ ?>
<div class="widget_container">
<?php
if ($can_edit) {