Commit a3c4ced7 authored by sylvain.thenault@logilab.fr's avatar sylvain.thenault@logilab.fr
Browse files

update rtag api

parent 2c153bd9cdab
......@@ -14,9 +14,9 @@ from cubicweb.web import uicfg, formwidgets
from cubicweb.web.views import baseviews, primary
for rtype in ('sender', 'recipients', 'cc', 'parts'):
uicfg.rdisplay.tag_relation({}, ('Email', rtype, '*'), 'subject')
uicfg.rdisplay.tag_relation('!Email', rtype, '*', {})
uicfg.rwidgets.tag_attribute(formwidgets.TextInput, 'Email', 'subject')
uicfg.rwidgets.tag_attribute('Email', 'subject', formwidgets.TextInput)
class EmailPrimaryView(primary.PrimaryView):
__select__ = implements('Email')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment