summaryrefslogtreecommitdiff
path: root/addons/website/static/src/xml/website.editor.xml
diff options
context:
space:
mode:
authorXavier Morel <xmo@openerp.com>2013-09-23 11:49:26 +0200
committerXavier Morel <xmo@openerp.com>2013-09-23 11:49:26 +0200
commit4b481b3509b8c3e71a60f87a15b3fc1b792bc5f9 (patch)
tree0b963bcc05b6863c2489f1b1e5c0181ab405df88 /addons/website/static/src/xml/website.editor.xml
parent700c59e3add65155c44815410043989909fa0223 (diff)
[IMP] page name validation on new page creation
bzr revid: xmo@openerp.com-20130923094926-q2as7cn6etpp36la
Diffstat (limited to 'addons/website/static/src/xml/website.editor.xml')
-rw-r--r--addons/website/static/src/xml/website.editor.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/website/static/src/xml/website.editor.xml b/addons/website/static/src/xml/website.editor.xml
index 34127a836c9..6422830ebf5 100644
--- a/addons/website/static/src/xml/website.editor.xml
+++ b/addons/website/static/src/xml/website.editor.xml
@@ -57,7 +57,7 @@
</label>
</h3>
<input type="text" class="form-control pages url-source"
- id="link-new" placeholder="Create new page"/>
+ id="link-new" pattern="[\\w/-]+"/>
</li>
<li class="list-group-item form-group clearfix">
<h3 class="list-group-item-heading">