/** * アクションが/frames/frames/editで、NetCommonsForm->create()の結果を出力する * * ##### return サンプル * ``` * <form method="post" novalidate="novalidate" ng-submit="submit($event)" action="/frames/frames/edit"> * ``` * * @param mixed $model モデル名 * @param array $options オプション * @return string */ public function create($model = null, $options = array()) { $options['url'] = NetCommonsUrl::blockUrl(array('plugin' => 'frames', 'controller' => 'frames', 'action' => 'edit')); $output = $this->NetCommonsForm->create('', $options); $output .= $this->NetCommonsForm->hidden('Frame.id'); return $output; }