Consolidate Conpherence frame rendering

Summary: Conpherence frame rendering is spread out a bit across ConpherenceController, ConpherenceListController, and previously ConpherenceNewController. I want to let the Thread and Widget controllers render the frame for mobile. Ref T2421.

Test Plan: Viewed conpherences, switched between conpherences.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T2421

Differential Revision: https://secure.phabricator.com/D5501
This commit is contained in:
epriestley
2013-04-01 12:43:07 -07:00
parent 7b07f6ab3d
commit 7ef2edd300
5 changed files with 96 additions and 81 deletions

View File

@@ -75,11 +75,11 @@ final class ConpherenceViewController extends
$transactions = $data['transactions'];
$update_uri = $this->getApplicationURI('update/'.$conpherence->getID().'/');
$form_id = celerity_generate_unique_node_id();
Javelin::initBehavior('conpherence-pontificate');
$form =
id(new AphrontFormView())
->setID($form_id)
->setAction($update_uri)
->setFlexible(true)
->addSigil('conpherence-pontificate')