Version: current

     1 <?php
     2 /**
     3  * A special kind of form used to make the action dialogs that appear just underneath the top-right
     4  * buttons in the CMS
     5  *
     6  * @package cms
     7  * @subpackage core
     8  */
     9 class CMSActionOptionsForm extends Form {
    10     function FormAttributes() {
    11         return "class=\"actionparams\" style=\"display:none\" " . parent::FormAttributes();
    12     }
    13     function FormName() {
    14         $action = $this->actions->First()->Name();
    15         return "{$action}_options";
    16     }
    17 }
    18
    19 ?>

[Raise a SilverStripe Framework issue/bug](https://github.com/silverstripe/silverstripe-framework/issues/new)
- [Raise a SilverStripe CMS issue/bug](https://github.com/silverstripe/silverstripe-cms/issues/new)
- Please use the Silverstripe Forums to ask development related questions. -