Changeset View
Changeset View
Standalone View
Standalone View
src/applications/almanac/controller/AlmanacBindingEditController.php
| Show First 20 Lines • Show All 81 Lines • ▼ Show 20 Lines | if ($request->isFormPost()) { | ||||
| } | } | ||||
| } | } | ||||
| $form = id(new AphrontFormView()) | $form = id(new AphrontFormView()) | ||||
| ->setUser($viewer) | ->setUser($viewer) | ||||
| ->appendControl( | ->appendControl( | ||||
| id(new AphrontFormTokenizerControl()) | id(new AphrontFormTokenizerControl()) | ||||
| ->setName('interfacePHIDs') | ->setName('interfacePHIDs') | ||||
| ->setLabel('Interface') | ->setLabel(pht('Interface')) | ||||
| ->setLimit(1) | ->setLimit(1) | ||||
| ->setDatasource(new AlmanacInterfaceDatasource()) | ->setDatasource(new AlmanacInterfaceDatasource()) | ||||
| ->setValue($v_interface) | ->setValue($v_interface) | ||||
| ->setError($e_interface)) | ->setError($e_interface)) | ||||
| ->appendChild( | ->appendChild( | ||||
| id(new AphrontFormSubmitControl()) | id(new AphrontFormSubmitControl()) | ||||
| ->addCancelButton($cancel_uri) | ->addCancelButton($cancel_uri) | ||||
| ->setValue($save_button)); | ->setValue($save_button)); | ||||
| Show All 25 Lines | |||||