1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-01-10 23:01:04 +01:00

Update slowvote for new edit UI

Summary: Updates UI

Test Plan: open new poll

Reviewers: epriestley

Reviewed By: epriestley

Spies: Korvin

Differential Revision: https://secure.phabricator.com/D18560
This commit is contained in:
Chad Little 2017-09-07 11:20:48 -07:00
parent 98185730df
commit 3720b28c6c

View file

@ -269,17 +269,12 @@ final class PhabricatorSlowvoteEditController
$crumbs->setBorder(true);
$form_box = id(new PHUIObjectBoxView())
->setHeaderText(pht('Poll'))
->setHeaderText($title)
->setFormErrors($errors)
->setBackground(PHUIObjectBoxView::BLUE_PROPERTY)
->setBackground(PHUIObjectBoxView::WHITE_CONFIG)
->setForm($form);
$header = id(new PHUIHeaderView())
->setHeader($title)
->setHeaderIcon($header_icon);
$view = id(new PHUITwoColumnView())
->setHeader($header)
->setFooter($form_box);
return $this->newPage()