render_tag -> tag: phabricator_render_form -> phabricator_form

Summary: Convert most phabricator_render_form callsites. In the case of the "headsup view", it converts it by deleting the element entirely (this is the very old Maniphest/Differential header which we no longer use).

Test Plan: Poked around a bit.

Reviewers: vrana

Reviewed By: vrana

CC: aran

Maniphest Tasks: T2432

Differential Revision: https://secure.phabricator.com/D4726
This commit is contained in:
epriestley
2013-01-30 11:30:38 -08:00
parent 607fca98df
commit f705c978b5
16 changed files with 98 additions and 430 deletions

View File

@@ -322,15 +322,17 @@ final class PhabricatorDirectoryMainController
$panel = new AphrontPanelView();
$panel->setHeader('Jump Nav');
$panel->appendChild(
phabricator_render_form(
phabricator_form(
$user,
array(
'action' => '/jump/',
'method' => 'POST',
'class' => 'phabricator-jump-nav-form',
),
$jump_input.
$jump_caption));
array(
$jump_input,
$jump_caption,
)));
return $panel;
}