Skip to content
Snippets Groups Projects
Commit bad0283105c5 authored by sylvain thenault's avatar sylvain thenault
Browse files

backport these tags from cw

parent 1a25f5d85952
No related branches found
No related tags found
No related merge requests found
......@@ -22,8 +22,10 @@
from cubicweb.web import stdmsgs
from cubicweb.web.action import (LinkToEntityAction, Action)
from cubicweb.web.views import baseviews, baseforms
from cubicweb.web.views.editforms import AutomaticEntityForm
from cubicweb.web.views.boxes import EditBox
from cubicweb.web.component import EntityVComponent
from cubicweb.web.views.basecontrollers import JSonController
_ = unicode
......@@ -25,8 +27,13 @@
from cubicweb.web.component import EntityVComponent
from cubicweb.web.views.basecontrollers import JSonController
_ = unicode
AutomaticEntityForm.rcategories.set_rtag('generic', 'comments', 'subject')
AutomaticEntityForm.rcategories.set_rtag('generic', 'comments', 'object')
EditBox.rmode.set_rtag('link', 'comments', 'subject')
EditBox.rmode.set_rtag('link', 'comments', 'object')
# comment views ###############################################################
class CommentPrimaryView(baseviews.PrimaryView):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment