Commit ac336d03 authored by's avatar
Browse files

final rtag api

parent 6ec8c1a72e0d
......@@ -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, '*', {})
uicfg.primaryview_section.tag_subject_of(('Email', rtype, '*'), 'hidden')
uicfg.rwidgets.tag_attribute('Email', 'subject', formwidgets.TextInput)
uicfg.autoform_widget.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