$content = elgg_view_title($title);
-$content .= elgg_view('forms/friends/edit', array(
+$content .= elgg_view_form('friends/edit', array(), array(
'friends' => get_user_friends(elgg_get_logged_in_user_guid(), "", 9999)
)
);
//get all members of the collection
$collection_members = get_members_of_access_collection($collection_id);
-$content .= elgg_view('forms/friends/edit', array('collection' => $collection,
+$content .= elgg_view_form('friends/edit', array(), array('collection' => $collection,
'collection_members' => $collection_members));
$body = elgg_view_layout('one_sidebar', array('content' => $content));
$form_body .= elgg_view('input/submit', array('name' => 'submit', 'value' => elgg_echo('save')));
$form_body .= "</div></div>";
-echo elgg_view('input/form', array('body' => $form_body, 'action' => "action/$action"));
\ No newline at end of file
+echo $form_body;
\ No newline at end of file