1 <?php
2
3 4 5 6 7
8 class MediawebForm extends Form {
9
10 11 12 13 14 15
16 function forTemplate() {
17 return $this->renderWith(array(
18 $this->getTemplate(),
19 'MediawebForm'
20 ));
21 }
22
23 24 25 26
27 function forAjaxTemplate() {
28 $view = new SSViewer(array(
29 $this->getTemplate(),
30 'MediawebForm'
31 ));
32
33 return $view->dontRewriteHashlinks()->process($this);
34 }
35
36 }
37
[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.
-